报错

[root@R7-131 ~]# systemctl start docker 
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
[root@R7-131 ~]# systemctl status iptables
Unit iptables.service could not be found.
[root@R7-131 ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since 六 2022-09-17 06:24:43 EDT; 1min 36s ago
     Docs: https://docs.docker.com
  Process: 14551 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 14551 (code=exited, status=1/FAILURE)

9月 17 06:24:41 R7-131 systemd[1]: Failed to start Docker Application Container Engine.
9月 17 06:24:41 R7-131 systemd[1]: Unit docker.service entered failed state.
9月 17 06:24:41 R7-131 systemd[1]: docker.service failed.
9月 17 06:24:43 R7-131 systemd[1]: docker.service holdoff time over, scheduling restart.
9月 17 06:24:43 R7-131 systemd[1]: Stopped Docker Application Container Engine.
9月 17 06:24:43 R7-131 systemd[1]: start request repeated too quickly for docker.service
9月 17 06:24:43 R7-131 systemd[1]: Failed to start Docker Application Container Engine.
9月 17 06:24:43 R7-131 systemd[1]: Unit docker.service entered failed state.
9月 17 06:24:43 R7-131 systemd[1]: docker.service failed.

处理

关闭防火墙与selinux
[root@R7-131 ~]# systemctl stop firewalld
[root@R7-131 ~]# systemctl disable firewalld
[root@R7-131 ~]# setenforce 0 #临时关闭selinux
[root@R7-131 ~]# sed -ri 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config  #永久关闭
[root@R7-131 ~]# setenforce 0 && getenforce
最后修改:2022 年 09 月 17 日
如果觉得我的文章对你有用,请随意赞赏