docker aufs

prior storage driver “aufs” failed: driver not supported Error starting daemon: error initializing graphdriver: driver not supported 由 匿名 (未验证) 提交于 2018-04-14 01:25:27 登录 发表评论376 次浏览 可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):

由 Google 翻译翻译强力驱动 问题: 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 回答1: Try removing all downloaded images:

sudo rm /var/lib/docker/aufs -rf That helped me to recover docker after a kernel update.

Related issues on the github:

https://github.com/docker/docker/issues/14026 https://github.com/docker/docker/issues/15651

回答2: I had the same problem after a kernel update that removed the AUFS driver. What fixed it was:

sudo apt-get install linux-image-extra-uname -r && sudo modprobe aufs If future updates break the driver again, bundle the command with your update:

sudo apt-get update && sudo apt-get upgrade && apt-get -y install linux-image-extra-$(uname -r) aufs-tools For differences between apt-get upgrade and dist-upgrade, see Why use apt-get upgrade instead of apt-get dist-upgrade?.

回答3: As mentioned in ask Ubuntu, unfortunately you have to completely purge your previous docker installation by running:

sudo apt-get purge docker-engine resp.

sudo apt-get purge docker.io then you have to remove /var/lib/docker (Or move it to a different name, if you first want to try if everything works.)

sudo rm /var/lib/docker resp.

sudo mv /var/lib/docker /var/lib/docker.old Afterwards you can install the docker-engine package again.

The same procedure applies for debian.

回答4: There are some problems with the kernel in ubuntu so the best way to run docker is with this line:

sudo docker -d --storage-driver=overlay

转载于:https://my.oschina.net/innovation/blog/3100146

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值