求助:系统升级后,docker启动不了
Tofloor
poster avatar
whrszzc
deepin
2018-01-25 18:17
Author
本帖最后由 whrszzc 于 2018-1-25 11:18 编辑

早上来更新系统,之后关机重启,停在蓝色deepin的那个界面,无奈强制关机,重启之后docker启动不了了,什么打印都没有

另外,deepin执行reboot之后都会停在启动菜单,并且没有任何字,只能强制关机,从去年用15.4开始一直是这样,只有我有这个问题么

--------------------------------------
回退内核到4.9就可以运行了


Reply Favorite View the author
All Replies
avatar
justforlxz
deepin
2018-01-25 18:35
#1
sudo systemctl daemon-reload && sudo systemctl restart docker && sudo systemctl status docker    贴一下输出吧.
Reply View the author
avatar
whrszzc
deepin
2018-01-25 18:39
#2
https://bbs.deepin.org/post/152357
sudo systemctl daemon-reload && sudo systemctl restart docker && sudo systemctl status docker    贴 ...

● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-01-25 10:38:23 CST; 12ms ago
     Docs: https://docs.docker.com
Main PID: 8776 (dockerd)
    Tasks: 74 (limit: 4915)
   Memory: 32.1M
      CPU: 372ms
   CGroup: /system.slice/docker.service
           ├─8776 /usr/bin/dockerd -H fd://
           └─8783 docker-containerd --config /var/run/docker/containerd/containerd.toml

1月 25 10:38:18 frank-PC dockerd[8776]: time="2018-01-25T10:38:18.495487832+08:00" level=warning msg="Your kernel does not support swap memory limit"
1月 25 10:38:18 frank-PC dockerd[8776]: time="2018-01-25T10:38:18.495516523+08:00" level=warning msg="Your kernel does not support cgroup rt period"
1月 25 10:38:18 frank-PC dockerd[8776]: time="2018-01-25T10:38:18.495523707+08:00" level=warning msg="Your kernel does not support cgroup rt runtime"
1月 25 10:38:18 frank-PC dockerd[8776]: time="2018-01-25T10:38:18.496206433+08:00" level=info msg="Loading containers: start."
1月 25 10:38:22 frank-PC dockerd[8776]: time="2018-01-25T10:38:22.023019820+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon opt
1月 25 10:38:23 frank-PC dockerd[8776]: time="2018-01-25T10:38:23.855636706+08:00" level=info msg="Loading containers: done."
1月 25 10:38:23 frank-PC dockerd[8776]: time="2018-01-25T10:38:23.913953348+08:00" level=info msg="Docker daemon" commit=c97c6d6 graphdriver(s)=overlay2 version=17.12.0-ce
1月 25 10:38:23 frank-PC dockerd[8776]: time="2018-01-25T10:38:23.914141416+08:00" level=info msg="Daemon has completed initialization"
1月 25 10:38:23 frank-PC dockerd[8776]: time="2018-01-25T10:38:23.928331398+08:00" level=info msg="API listen on /var/run/docker.sock"
1月 25 10:38:23 frank-PC systemd[1]: Started Docker Application Container Engine.
Reply View the author
avatar
justforlxz
deepin
2018-01-25 19:45
#3
https://bbs.deepin.org/post/152357
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/doc ...

服务很正常啊,不过那几行内核不支持的警告是怎么回事,你改了cgroup的什么设置吗
Reply View the author
avatar
whrszzc
deepin
2018-01-25 21:07
#4
https://bbs.deepin.org/post/152357
服务很正常啊,不过那几行内核不支持的警告是怎么回事,你改了cgroup的什么设置吗 ...

内核回退到4.9就好了,可能是需要升级一下docker
Reply View the author
avatar
justforlxz
deepin
2018-01-25 21:09
#5
https://bbs.deepin.org/post/152357
内核回退到4.9就好了,可能是需要升级一下docker

我用的docker官方的ppa安装的docker-ce,4.14没问题.
Reply View the author
avatar
whrszzc
deepin
2018-01-25 21:14
#6
https://bbs.deepin.org/post/152357
我用的docker官方的ppa安装的docker-ce,4.14没问题.

可能我的版本比较老,等下班再折腾下试试,多谢版主
Reply View the author
avatar
134******40
deepin
2018-01-25 21:37
#7
https://bbs.deepin.org/post/152357
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/doc ...

我也遇到这个问题。上次已经反馈过了。
Reply View the author
avatar
158******91
deepin
2018-01-30 00:26
#8
https://bbs.deepin.org/post/152357
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/doc ...
楼主问题解决没?
和楼主一样的问题,升级4.14后就不能运行之前的docker容器了,exited 139,回到4.9正常
享受不了新内核。。。 https://bbs.deepin.org/user/101846 https://bbs.deepin.org/user/13250
Reply View the author
avatar
justforlxz
deepin
2018-01-30 00:42
#9
https://bbs.deepin.org/post/152357
楼主问题解决没?
和楼主一样的问题,升级4.14后就不能运行之前的docker容器了,exited 139,回到4.9正常
...

我另一台机器上的docker.io是1.13.1~ds1-2 ,工作很正常。你的版本呢   apt-cache policy docker.io
Reply View the author
avatar
whrszzc
deepin
2018-01-30 17:57
#10
https://bbs.deepin.org/post/152357
楼主问题解决没?
和楼主一样的问题,升级4.14后就不能运行之前的docker容器了,exited 139,回到4.9正常
...

后来就一直用的4.9的内核,生产环境,稳定为主
Reply View the author
Comments
gmaso
2018-01-30 22:05
一样哈,现在也是用4.9跑着
avatar
158******91
deepin
2018-01-30 22:06
#11
https://bbs.deepin.org/post/152357
我另一台机器上的docker.io是1.13.1~ds1-2 ,工作很正常。你的版本呢   apt-cache policy docker.io ...

从docker官方源装的Docker version 17.12.0-ce, build c97c6d6
Reply View the author
avatar
justforlxz
deepin
2018-01-31 03:48
#12
https://bbs.deepin.org/post/152357
从docker官方源装的Docker version 17.12.0-ce, build c97c6d6

我用的也是…  没问题啊
Reply View the author
Comments
gmaso
2018-01-31 17:32
那就尴尬了,不知道为啥。先用着4.9了,干不了活怕没饭吃,哈哈
avatar
justforlxz
deepin
2018-01-31 19:36
#13
Reply View the author