When a try to run docker locally in ubuntu 14.04 when i run this line in the console:
sudo docker -d
The console show me this error:
Warning: '-d' is deprecated, it will be removed soon. See usage.
WARN[0000] please use 'docker daemon' instead.
ERRO[0000] [graphdriver] prior storage driver "aufs" failed: driver not supported
FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported
Try removing all downloaded images:
That helped me to recover docker after a kernel update.
Related issues on the github:
There are some problems with the kernel in ubuntu so the best way to run docker is with this line:
I had the same problem after a kernel update that removed the AUFS driver. What fixed it was:
If future updates break the driver again, bundle the command with your update:
For differences between apt-get upgrade and dist-upgrade, see Why use apt-get upgrade instead of apt-get dist-upgrade?.
As mentioned in ask Ubuntu, unfortunately you have to completely purge your previous docker installation by running:
resp.
then you have to remove
/var/lib/docker
(Or move it to a different name, if you first want to try if everything works.)resp.
Afterwards you can install the
docker-engine
package again.The same procedure applies for debian.