Docker Community Forums

Share and learn in the Docker community.

Docker restart and exit command, rebooting the Host machine as well


(Gugan K) #1

Hi,

I tried to setup Docker in my Lab setup. I pulled the image from public registry. And there is no issue to run the container from the Images. Problem I faced when I run the commands, it will reboot the entire Host machine also. I don’t why its rebooting the entire Host machine [. Tested in Physical machine with Centos 6.5]

Logs :

[root@localhost ~]# docker restart 714fed06f99f
714fed06f99f
[root@localhost ~]# Write failed: Broken pipe

<-= DISCONNECTED (PRESS TO RECONNECT) (Fri Feb 20 16:44:35 2015)

[root@4e53f038d880 ~]# exit
Write failed: Broken pipe

<-= DISCONNECTED (PRESS TO RECONNECT) (Fri Feb 20 16:48:42 2015)

Please someone help me to fix this problem.


(Iangkent) #2

We are experiencing a similar issue. When we stop a docker container the host machine reboots.
We are using docker 1.4.1 on RHEL 6.5 (kernel kernel 2.6.32-431.29.2.el6.x86_64).


(Gugan K) #3

After I upgrade the Kernel , problem got resolved. Still I’m not sure why it was not working on this version [ kernel 2.6.32-431.29.2.el6.x86_64] even if it’s in the docker recommended kernel version.

@iangkent, upgrade your Kernel , it would get work. This is a workaround solution which I found. If you have found any other solution for this, let me know

Upgraded Kernel Version : 2.6.32-504.8.1.el6.x86_64