Docker Community Forums

Share and learn in the Docker community.

Storage Driver is always "aufs" when install docker inside ubuntu docker

With the latest Ubuntu and latest docker, the Storage Driver is using overlay2 by default and aufs is deprecated.
However, when we deploy a fresh Ubuntu docker image inside the original Ubuntu, and we install the latest docker inside the ubuntu docker, the Storage Driver will become aufs.
This will cause an error about aufs when we trying to run another ubuntu docker inside the ubuntu docker
Here’s the error:
{\n “message”: “Docker has returned an error: 500 error creating aufs mount to /var/lib/docker/aufs/mnt/0bf69d06d34fdc0203e4616722fca5788e0fbc150f3e9e649a6d5c1049ab89fc-init: invalid argument”,\n “status”: 409\n}

Thanks!