Docker Community Forums

Share and learn in the Docker community.

Network delay on container startup


(Stephen Pope) #1

I notice when I start up a container and access the network the connection to another host always fails, network unreachable. Seems like the network hasn’t actually started up yet. If I sleep for a few seconds it works fine. Did you know about this? any work arounds?


(Ziontech) #2

Its probably the same issue described here: https://github.com/docker/dockercloud-haproxy/issues/4 - Apparently a plugin is being implemented that means containers will be attached to the network before/during startup rather than after startup. In terms of a timeline they said “The plan to activate it was before the end of this month.” but that was last month, so hopefully any day?