重启系统后docker启动容器报错:Error response from daemon: error creating overlay mount to…

image-20211025111005867

重启系统后docker启动容器报错:Error response from daemon: error creating overlay mount to…

首先有一种更改文件系统的方法,但是这个方法会删除docker容器。

我这边由于容器不是自己创建的,选择另一种方法,更改文件

/etc/selinux/config

内的

# 修改文件
vim /etc/selinux/config

# 文件内容
SELINUX=permissive

然后再次重启Linux服务器即可。

github的地址:

https://github.com/coreos/bugs/issues/2340

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐