Recently I installed Docker CE on my Oracle Linux. Unfortunately, when I want to start my first container with:
docker run hello-world
I was also facing the same issue while trying to run docker inside lxd (linux container). I tried following flag while creating container.
security.nesting=true
Example: lxc launch ubuntu:x docker -c security.nesting=true
lxc launch ubuntu:x docker -c security.nesting=true