Docker error – error response from daemon: Cannot start container….is not within /var/lib/docker/aufs/mnt

Email this to someoneShare on Google+Share on FacebookTweet about this on TwitterShare on LinkedIn

Problem

You are trying to use an image from Docker in your Ubuntu 14.04 system, but you are getting a error like the following:

Solution

Your docker version is outdated (ie 1.0.1) so you would need to upgrade your docker installation.
There is a script for this (information from here):

After running the following you should be able to use your images as normal with: sudo docker run -t -i image/name bin/bash: