V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
dltsgl
V2EX  ›  问与答

wsl 每次重启 docker 都无法启动

  •  
  •   dltsgl · 191 天前 · 170 次点击
    这是一个创建于 191 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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.
    ···

    找不到问题出在哪儿,请教一下这种问题该怎么分析处理?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1190 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:20 · PVG 02:20 · LAX 11:20 · JFK 14:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.