CentOS8 启动docker失败
安装K8S过程增加了/etc/docker/daemon.json 文件,重启系统后docker无法启动。
·
安装K8S过程增加了/etc/docker/daemon.json 文件,重启系统后docker无法启动。
查看错误日志:
journalctl -xeu docker | grep Failed
错误信息: Failed to start Docker Application Container Engine.
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2022-06-23 21:43:26 CST; 1s ago
Docs: https://docs.docker.com
Process: 9721 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 9721 (code=exited, status=1/FAILURE)
解决此问题只需用读写的方式重新挂载磁盘就好
命令如下:
mount -o remount,rw /
更多推荐
已为社区贡献1条内容
所有评论(0)