Hi,
I'm toying with running Docker inside a CentOS 7 LXC on a Proxmox whose storage is ZFS. The container has:
$ cat /etc/pve/lxc/209.conf
...
features: nesting=1
...
and is a privileged container.
For starters, the only storage driver that allows me to start the Docker service is vfs. ZFS is not supported OOB (I suppose some tinkering might help, but...).
Starting with VFS, starting a container fails:
$ sudo docker run -it --rm centos
...
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:327: setting cgroup config for procHooks process caused \"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/system.slice/docker-29dec37417e09a1b8e118bd9e7402578307c8c73ad562ee887f37efa7bc85449.scope/devices.allow: operation not permitted\"".
ERRO[0016] error getting events from daemon: context canceled
I'm toying with running Docker inside a CentOS 7 LXC on a Proxmox whose storage is ZFS. The container has:
$ cat /etc/pve/lxc/209.conf
...
features: nesting=1
...
and is a privileged container.
For starters, the only storage driver that allows me to start the Docker service is vfs. ZFS is not supported OOB (I suppose some tinkering might help, but...).
Starting with VFS, starting a container fails:
$ sudo docker run -it --rm centos
...
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:327: setting cgroup config for procHooks process caused \"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/system.slice/docker-29dec37417e09a1b8e118bd9e7402578307c8c73ad562ee887f37efa7bc85449.scope/devices.allow: operation not permitted\"".
ERRO[0016] error getting events from daemon: context canceled