本帖最后由 炒土豆丝 于 2022-4-3 02:23 编辑
系统:Debian 11 x64
安装报错。
- Job for docker.service failed because the control process exited with error code.
- See "systemctl status docker.service" and "journalctl -xe" for details.
- invoke-rc.d: initscript docker, action "start" failed.
- ● docker.service – Docker Application Container Engine
- Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
- Active: activating (auto-restart) (Result: exit-code) since Sat 2022-04-02 14:00:32 EDT; 3ms ago
- TriggeredBy: ● docker.socket
- Docs: https://docs.docker.com
- Process: 59130 ExecStart=/usr/bin/dockerd -H fd:// –containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
- Main PID: 59130 (code=exited, status=1/FAILURE)
- CPU: 84ms
-
- Apr 02 14:00:32 Tokyo768 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
- Apr 02 14:00:32 Tokyo768 systemd[1]: docker.service: Failed with result ‘exit-code’.
- Apr 02 14:00:32 Tokyo768 systemd[1]: Failed to start Docker Application Container Engine.
- dpkg: error processing package docker-ce (–configure):
- installed docker-ce package post-installation script subprocess returned error exit status 1
- Setting up git (1:2.30.2-1) …
- Processing triggers for man-db (2.9.4-2) …
- Processing triggers for libc-bin (2.31-13+deb11u2) …
- Errors were encountered while processing:
- docker-ce
- E: Sub-process /usr/bin/dpkg returned an error code (1)
复制代码
运行docker提示:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
重启提示:
[email protected]:/etc/systemd/system# 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.
Journalctl -xe:
- — Journal begins at Tue 2021-12-28 22:34:18 EST, ends at Sat 2022-04-02 14:05:27 EDT. —
- Apr 02 14:00:32 Tokyo768 systemd[1]: Starting Docker Application Container Engine…
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.257288199-04:00" level=info msg="Starting up"
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.283097177-04:00" level=info msg="parsed scheme: "unix>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.283250106-04:00" level=info msg="scheme "unix" not re>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.283359823-04:00" level=info msg="ccResolverWrapper: sen>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.283451357-04:00" level=info msg="ClientConn switching b>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.285138438-04:00" level=info msg="parsed scheme: "unix>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.285242835-04:00" level=info msg="scheme "unix" not re>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.285329068-04:00" level=info msg="ccResolverWrapper: sen>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.285406365-04:00" level=info msg="ClientConn switching b>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.316903933-04:00" level=info msg="Loading containers: st>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.325245571-04:00" level=warning msg="Running modprobe br>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: time="2022-04-02T14:00:32.331919746-04:00" level=warning msg="Running iptables –>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: failed to start daemon: Error initializing network controller: error obtaining co>
- Apr 02 14:00:32 Tokyo768 dockerd[59130]: (exit status 4)
- Apr 02 14:00:32 Tokyo768 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
- Apr 02 14:00:32 Tokyo768 systemd[1]: docker.service: Failed with result ‘exit-code’.
- Apr 02 14:00:32 Tokyo768 systemd[1]: Failed to start Docker Application Container Engine.
- Apr 02 14:00:34 Tokyo768 systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
- Apr 02 14:00:34 Tokyo768 systemd[1]: Stopped Docker Application Container Engine.
- Apr 02 14:00:34 Tokyo768 systemd[1]: Starting Docker Application Container Engine…
- Apr 02 14:00:34 Tokyo768 dockerd[60631]: time="2022-04-02T14:00:34.570550777-04:00" level=info msg="Starting up"
- Apr 02 14:00:34 Tokyo768 dockerd[60631]: time="2022-04-02T14:00:34.573689343-04:00" level=info msg="parsed scheme: "unix>
- Apr 02 14:00:34 Tokyo768 dockerd[60631]: time="2022-04-02T14:00:34.573835961-04:00" level=info msg="scheme "unix" not re>
复制代码
- failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument
复制代码
|