按照網上的文章 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