V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
miv
V2EX  ›  Docker

ubuntu 下 docker 无法启动

  •  
  •   miv · 2021-03-10 17:05:52 +08:00 · 1430 次点击
    这是一个创建于 1353 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题:

    ● docker.service - Docker Application Container Engine
         Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
         Active: activating (start) since Wed 2021-03-10 09:03:48 UTC; 46s ago
    TriggeredBy: ● docker.socket
           Docs: https://docs.docker.com
       Main PID: 2586 (dockerd)
          Tasks: 22
         Memory: 42.4M
         CGroup: /system.slice/docker.service
                 └─2586 /usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock
    
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.907301120Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.907318886Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <n>
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.907326747Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.914532711Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.930238570Z" level=warning msg="Your kernel does not support CPU realtime scheduler"
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.930278870Z" level=warning msg="Your kernel does not support cgroup blkio weight"
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.930287029Z" level=warning msg="Your kernel does not support cgroup blkio weight_device"
    Mar 10 09:04:04 ubuntu dockerd[2586]: time="2021-03-10T09:04:04.930437427Z" level=info msg="Loading containers: start."
    Mar 10 09:04:15 ubuntu dockerd[2586]: time="2021-03-10T09:04:15.031553993Z" level=info msg="Container 437c1a2b7bb9df21d6ee3ffc7f6d21e202c2a39832a0e62ffa9020013b6aa91b failed to exit within 10 se>
    Mar 10 09:04:15 ubuntu dockerd[2586]: time="2021-03-10T09:04:15.055032772Z" level=info msg="Container f8294835c1711ae14d96aeac652dd31c25562f63ce394ae6928a166f1e70178d failed to exit within 10 se>
    
    第 1 条附言  ·  2021-03-10 18:32:30 +08:00
    结束一下贴,还好之前有用虚拟机的快照功能,尝试恢复上上个快照,结果很幸运,docker 没问题了。
    这一次给自己一个教训:备份是必要的!
    3 条回复    2021-03-10 17:33:34 +08:00
    miv
        1
    miv  
    OP
       2021-03-10 17:07:47 +08:00
    win 系统非正常关机以后就这样了。。。
    docker ps 都不行,卡死。
    用 systemctl restart/start docker 也卡了,无法正常启动。。
    docker 是安装在虚拟机里面的,虚拟机快照也不行。
    12101111
        2
    12101111  
       2021-03-10 17:29:23 +08:00
    你发的日志明明还在运行啊,卡死是不是磁盘数据坏了
    miv
        3
    miv  
    OP
       2021-03-10 17:33:34 +08:00
    @12101111 #2 应该是这样了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2746 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:19 · PVG 21:19 · LAX 05:19 · JFK 08:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.