I get this to work work Ubuntu using security.privileged
and security.nesting
just fine. However with centos7, the docker daemon fails when trying to pull the images. It can't even run hello-world. There is a cgroup violation that some folder doesn't exist. Anyways, are there any successful examples of doing this? I'm ultimately trying to run Kubernetes and use lxc/lxd containers for master and workers, but I need it to work in centos.
Exact error message :
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:279: applying cgroup configuration for process caused \"open /sys/fs/cgroup/systemd/lxc/docker-test/docker/cpuset.cpus: no such file or directory\"": unknown.
ERRO[0000] error waiting for container: context canceled
Exact setup is a centos7 Digital Ocean Droplet with lxd installed and built from go. Using lxc I created a centos7 container. In that machine container, I am trying to run docker. I realize this is like container inception, but it definitely works in ubuntu, so I imagine it should work on centos.