急!升级到15.7后docker网络相关的容器起不来了
Tofloor
poster avatar
子非鱼
deepin
2018-08-21 21:43
Author
本帖最后由 xlight 于 2018-8-21 13:44 编辑

各位大佬,昨天刚升级完到了15.7,系统能正常起来,但发现docker运行的网络相关的容器都起不来了,查看日志发现是类似问题
使用ping命令:
  1. ping: can't create raw socket: Permission denied
Copy the Code

MySQL启动日志:
  1. 2018-08-21T05:28:38.935567Z 0 [ERROR] Failed to create a socket for IPv4 '0.0.0.0': errno: 13.
  2. 2018-08-21T05:28:38.935573Z 0 [ERROR] Can't create IP socket: Permission denied
Copy the Code
是我升级姿势不对么?各位大佬快看看有么有办法,还要工作呢




Reply Favorite View the author
All Replies
1 / 2
To page
avatar
187******09
deepin
2018-08-21 21:57
#1
权限问题  
Reply View the author
avatar
子非鱼
deepin
2018-08-21 22:00
#2
本帖最后由 xlight 于 2018-8-21 14:03 编辑

大佬,具体哪里的问题呢?我看也是权限问题,但对底层不熟啊。。之前一直是好好的,就是这次升级后才这样的,升级的时候除了几个配置文件选择了使用新版本的,其它都正常操作
Reply View the author
avatar
187******09
deepin
2018-08-21 22:10
#3
https://bbs.deepin.org/post/167441
大佬,具体哪里的问题呢?我看也是权限问题,但对底层不熟啊。。之前一直是好好的,就是这次升级后才这样 ...

你是用sudo启动的docker么,或者有没有把docker加到sudo组
Reply View the author
avatar
子非鱼
deepin
2018-08-21 22:14
#4
https://bbs.deepin.org/post/167441
你是用sudo启动的docker么,或者有没有把docker加到sudo组

docker deamon是用root运行的,不然跑不起来。deamon进程是没问题的,容器其实也能运行,只是无法使用网络
Reply View the author
avatar
子非鱼
deepin
2018-08-21 23:14
#5
艹,真是各种坑啊。耽误不起,还是直接重装吧
Reply View the author
avatar
21wmd
deepin
2018-08-22 00:05
#6
额~~我们之前还真没有docker的测试用例
Reply View the author
avatar
子非鱼
deepin
2018-08-22 00:24
#7
https://bbs.deepin.org/post/167441
额~~我们之前还真没有docker的测试用例

有没有人能帮忙看一下,今天没带U盘,重装系统都费劲
Reply View the author
avatar
b0y1n4o4
deepin
2018-09-02 17:32
#8
哥们,解决了嘛。同样的问题。mysql的问题,我解决了,docker的问题,无从下手啊。急需用docker
Reply View the author
avatar
RunningMartin
deepin
2018-09-03 00:14
#9
原来还真是系统问题,求解决呀,今天花了4个小时,各种方法都试了,都快怀疑人生了
Reply View the author
avatar
RunningMartin
deepin
2018-09-03 00:15
#10
https://bbs.deepin.org/post/167441
额~~我们之前还真没有docker的测试用例

大佬,求解决这个问题呀
Reply View the author
avatar
justforlxz
deepin
2018-09-03 01:12
#11
检查一下这个包有没有安装,应该和我是一个问题。

apparmor
Reply View the author
Comments
RunningMartin
2018-09-03 02:16
安装了,是最新的
avatar
RunningMartin
deepin
2018-09-03 03:09
#12
https://bbs.deepin.org/post/167441
检查一下这个包有没有安装,应该和我是一个问题。

apparmor

安装了,是最新的
Reply View the author
avatar
b0y1n4o4
deepin
2018-09-03 04:01
#13
我也试了好多办法,一直以为是docker里面的问题,才想起来之前刚升级过。
Reply View the author
avatar
子非鱼
deepin
2018-09-03 06:09
#14
https://bbs.deepin.org/post/167441
哥们,解决了嘛。同样的问题。mysql的问题,我解决了,docker的问题,无从下手啊。急需用docker ...

无从下手,最终重装保平安
Reply View the author
avatar
rdlg
deepin
2018-09-03 06:51
#15
说不定把apparmor卸了就好了~~
Reply View the author
avatar
lingyue
deepin
2018-09-03 17:30
#16
deepin 的 bug https://github.com/docker/for-linux/issues/413
Reply View the author
avatar
lingyue
deepin
2018-09-03 17:31
#17
折腾了2天,,, 不太懂底层,没敢动, 望尽快修复吧
Reply View the author
avatar
lingyue
deepin
2018-09-03 17:31
#18
https://bbs.deepin.org/post/167441
说不定把apparmor卸了就好了~~

这个敢随便卸吗,可以的话,我就要卸了,没法工作了
Reply View the author
avatar
lingyue
deepin
2018-09-03 17:34
#19
重装系统也没法解决吧
Reply View the author
avatar
justforlxz
deepin
2018-09-03 17:48
#20
https://bbs.deepin.org/post/167441
安装了,是最新的

卸载掉
Reply View the author
1 / 2
To page