当我在ubuntu 14.04中,当我在控制台中运行这一行时尝试在本地运行docker:
sudo docker -d
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
在内核更新后,我删除了AUFS驱动程序时遇到了同样的问题.究竟是什么呢?
sudo apt-get install linux-image-extra-`uname -r` && sudo modprobe aufs
如果将来的更新会再次破坏驱动程序,请将命令与您的更新绑定:
sudo apt-get update && sudo apt-get upgrade && apt-get -y install linux-image-extra-$(uname -r) aufs-tools
有关apt-get升级和dist-upgrade之间的差异,请参见Why use apt-get upgrade instead of apt-get dist-upgrade?.