一、selinux
selinux 开启和关闭 https://blog.youkuaiyun.com/qq_39698293/article/details/79505285
docker旧电脑上安装报错
centos7 安装docker后启动报错
启动docker
$ sudo systemctl start docker
或者 service docker start
报错。
查看状态:
$ systemctl status docker.service -l
加 -l 有的行信息很长,打印的时候会省略,加此参数则全部显示。
报错信息:
Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable selinux in docker (–selinux-enabled=false)
意思是说, 此linux的内核中的SELinux不支持 overlay2 graph driver ,解决方法有两个,要么启动一个新内核,要么就在docker里禁用selinux,–selinux-enabled=false