On top of that, middlewared won’t let you mount a custom zvol down a custom dataset like say /mnt/pool/incus/disks/docker-data. It has to be down /mnt/.ix-virt.
Their jira comment on how they expect users to mount fresh datasets to the incus container instead of already existing ones is pretty stupid. Why would you create a new dataset, when there’s already an existing one with data you want to use in the container.
Try setting systemd-resolved to disable the stub listener on the incus container that will be running your DNS server. You will need to configure your /etc/resolv.conf manually and point to 127.0.01 or upstream if you have one for your DNS server. This is a common problem as it listens on udp/53.
Snapshots work well. Another reason to setup the Incus Web UI. I’m still working on that.
Create ZFS snapshot:
incus snapshot create docker1 test-snap
List ZFS snapshot (They are visible under TrueNAS UI):
incus snapshot list docker1
+-----------+----------------------+------------+----------+
| NAME | TAKEN AT | EXPIRES AT | STATEFUL |
+-----------+----------------------+------------+----------+
| test-snap | 2025/02/26 12:16 EST | | NO |
+-----------+----------------------+------------+----------+
Delete ZFS snapshot:
incus snapshot delete docker1 test-snap
These could be used in conjuntion with cron to create scheduled snapshots.
Pretty easy to get an instance with incus-ui-canonical up and running, however, it depends on incus. It’s making it difficult to install as a standalone install. Checking for options…
If you are running for example docker container with GUID 1000, then you will need to chown 2147001001.
Jailmaker was not doing any uid mapping by default, that is why you never had to deal with that.
What realy confuses me is the range 2147000001:2147000001, it is not even working right with new datasets, access rights without CHOWN are wrong anyway.