lxc container is created with:
$ lxc launch ubuntu:14.04 test \
-c security.privileged=true \
-c security.nesting=true \
-c linux.kernel_modules=ip_tables,ip6_tables,netlink_diag,nf_nat,overlay
Docker is installed using this source
$ cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list
deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty stable
Package information:
$ dpkg -l | grep docker
ii docker-ce 18.06.1~ce~3-0~ubuntu amd64 Docker: the open-source application container engine
Docker error:
$ docker run hello-world
docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.
ERRO[0000] error waiting for container: context canceled
How can I fix this so that nested docker containers work using LXC and Ubuntu 14.04?