Docker Community Forums

Share and learn in the Docker community.

Cannot restart network under running docker container on CentOS6.6


(Osamunmun) #1

I’m using Docker on CentoS6.6.

  • docker-engine-1.7.1-1
  • CentOS release 6.6(Final)
  • bond0
  • ipv6 enabled

When I try restarting network “service network restart”, network is shutdown but is not up.
After stoping docker container, I can restart network.
I guess that network resource conflicts between bund0 and docker.
Does anyone know what is happened?

egrep “^Oct 21 15:” /var/log/allmessages | grep bond

Oct 21 15:29:39 hostname kernel: bonding: bond0: link status definitely down for interface eth0, disabling it
Oct 21 15:29:39 hostname kernel: bonding: bond0: making interface eth2 the new active one.
Oct 21 15:29:39 hostname kernel: bonding: bond0: link status definitely down for interface eth2, disabling it
Oct 21 15:29:39 hostname kernel: bonding: bond0: now running without any active interface !
Oct 21 15:29:40 hostname kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready
Oct 21 15:29:42 hostname ntpd[1823]: Deleting interface #5 bond0, #123, interface stats: received=0, sent=0, dropped=0, active_time=94516 secs
Oct 21 15:29:42 hostname ntpd[1823]: Deleting interface #3 bond0, #123, interface stats: received=0, sent=101, dropped=0, active_time=94516 secs
Oct 21 15:29:44 hostname ntpd[1823]: Listen normally on 17 bond0 UDP 123