wsl 每次重启 docker 都无法启动

191 天前
 dltsgl
win11 23H2,wsl2 ubuntu jammy ,每次重启后都无法启动 docker ,只能卸载重新安装

查看 docker status 如下:
···
➜ ~ sudo systemctl status docker.service
Failed to dump process list for 'docker.service', ignoring: Input/output error
● 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 Wed 2024-04-03 10:59:24 CST; 233ms ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 16257 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (co>
Main PID: 16257 (code=exited, status=1/FAILURE)
Tasks: 19
Memory: 122.0M
CGroup: /system.slice/docker.service
···
journalctl 如下:
···
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Apr 03 10:59:24 LAPTOP-1J56N41I systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 6933 and the job result is failed.
Apr 03 10:59:26 LAPTOP-1J56N41I systemd[1]: docker.service: Scheduled restart job, restart counter is a>
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Apr 03 10:59:26 LAPTOP-1J56N41I systemd[1]: Stopped Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit docker.service has finished.
░░
░░ The job identifier is 7058 and the job result is done.
···

找不到问题出在哪儿,请教一下这种问题该怎么分析处理?
170 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1029382

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX