I am running Ubuntu 22 with Docker 24.0.6.
Trying to get /dev/zfs access to work in the container (for ZFS filesystem management).
Docker Info:
Server:
Server Version: 24.0.6
Cgroup Driver: systemd
Cgroup Version: 2
Swarm: active
Is Manager: true
Managers: 3
Nodes: 3
...
I have installed the plugin:
ID NAME DESCRIPTION ENABLED
072779dcdbe8 ndouba/device-mapping-manager:latest A device mapping plugin for swarm clusters true
But when I run my container, I am unable to get the device access to work.
docker run -it --rm --cap-add=SYS_ADMIN --mount='type=bind,source=/dev/zfs,destination=/dev/zfs' --entrypoint /bin/sh
/ # ls -al /dev/zfs
crw-rw-rw- 1 root root 10, 249 Oct 3 15:01 /dev/zfs
/ # zfs list
Failed to initialize the libzfs library.
My questions are:
- Is systemd cgroup driver supported by DMM?
- Where can I find the logs of the DMM plugin? I dont see the plugin container running nor any relevant logs in the docker logs.
I am glad for any hints getting this to work!
Other workarounds mentioned in the moby#1244 issue (like running a docker run --device=XXX in a Swarm service) I unfortunately cannot use.
I am running Ubuntu 22 with Docker 24.0.6.
Trying to get
/dev/zfsaccess to work in the container (for ZFS filesystem management).Docker Info:
I have installed the plugin:
But when I run my container, I am unable to get the device access to work.
My questions are:
I am glad for any hints getting this to work!
Other workarounds mentioned in the moby#1244 issue (like running a
docker run --device=XXXin a Swarm service) I unfortunately cannot use.