自己装DOCKER

按照网上的文章   https://blog.csdn.net/ananyou/article/details/130339383 

自己安装了一遍,但是DOCKER启动报错

重新开始检查

执行命令:systemctl status docker.service

报错

Failed to start Docker Application Container Engine

百度得到:https://blog.csdn.net/Alexanderlc/article/details/124084142

查看到报错信息: tail fn 200 /var/log/messages


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)


再次百度得到: https://www.cnblogs.com/zzhaolei/p/11067947.html

docker启动时报错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) 修改sudo vim /etc/sysconfig/docker, 中的--selinux-enabled为--selinux-enabled=false 如果需要, 可以修改/etc/selinux/config中SELINUX的值为disabled., 不强求


再次启动: systemctl start docker

一切正常~~~

服务自启动    systemctl enable docker.service

 

 

 

posted @ 2023-07-11 16:52  苦行者的刀  阅读(31)  评论(0编辑  收藏  举报