Public bug reported: I am running 16.04 Ubuntu and trying to run docker within lxd (I know crazy right?!). While inside the LXC container we are unable to run docker because there is an error trying to mount aufs.
We found a workaround to this problem was to add the overlay driver to /etc/default/docker: DOCKER_OPTS=--storage-driver=overlay Distribution: Ubuntu Distribution version: 16.04 # docker info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 1.10.2 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: false Execution Driver: native-0.2 Logging Driver: json-file Plugins: Volume: local Network: null host bridge Kernel Version: 4.4.0-13-generic Operating System: Ubuntu 16.04 OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 31.04 GiB Name: xenial ID: CHCK:H2MG:HNB5:2XDN:KDOP:3U2Q:XLDG:VWF3:UXNR:XIIW:EE3P:YXIF WARNING: No swap limit support WARNING: bridge-nf-call-iptables is disabled WARNING: bridge-nf-call-ip6tables is disabled # docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 03f4658f8b78: Pull complete a3ed95caeb02: Pull complete Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7 Status: Downloaded newer image for hello-world:latest docker: Error response from daemon: error creating aufs mount to /var/lib/docker/aufs/mnt/0df532e33493853f62ea882f5e 5ce585d7fc4b02753b2252ffd607f3800fb95b-init: operation not permitted. See 'docker run --help'. Can we either fix the aufs bug or enable the overlay driver by default? ** Affects: docker.io (Ubuntu) Importance: Undecided Status: New ** Tags: aufs docker lxc lxd overlay -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560685 Title: docker: Error response from daemon: error creating aufs mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1560685/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs