systemctl start docker.service 后,

journalctl -xe 查看详细报错如下

 failed to start daemon: Devices cgroup isn't mounted
 node01 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
 node01 systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has failed.
-- 
-- The result is failed.

参照此链接编辑脚本并运行

https://github.com/tianon/cgroupfs-mount/blob/master/cgroupfs-mount

再次重启即可


参考链接:

https://blog.csdn.net/red_sky_blue/article/details/124278600