I have unprivileged lxc container on Arch host created like this:
lxc-create -n test_arch11 -t download -- --dist archlinux --release current --arch amd64
And it doesn't run docker. What I did inside a container:
- Installed docker from Arch repos
pacman -S docker
- Tried to run a hello-world container
docker run hello-world
- Got the next error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mkdir /sys/fs/cgroup/cpuset/docker: permission denied\"": unknown.
ERRO error waiting for container: context canceled
What is wrong and how to make docker work inside a container?