Run Docker inside LXD

To run Docker inside LXD, we need to change the security.nesting as true.

lxc launch ubuntu-daily:16.04 docker -c security.nesting=true


lxc config set docker security.nesting true
lxc restart docker

If Docker doesn’t work properly, try next commands

lxc config set docker security.privileged true
lxc restart docker


Written on August 22, 2017