Overcoming Docker's AUFS 42 layer limit
If you build a lot of Docker images, you've probably run into AUFS's 42 layer limit. You can overcome this limitation by configuring Docker to use the devicemapper storage engine.
Here's how to do this on Ubuntu.
# see what engine your currently using
docker info|grep Driver:
# update docker defaults
echo "DOCKER_OPTS=\"-s=devicemapper\"" > /etc/default/docker
service docker restart
Written by Nathan Hopkins
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#