1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Ensure networking is up before starting docker

This resolves a problem that I have been having where docker starts before networking is up. See issue #5944 for more details.

Docker-DCO-1.1-Signed-off-by: Jeffrey Bolle <jeffreybolle@gmail.com> (github: jeffreybolle)
This commit is contained in:
Jeffrey Bolle 2014-05-24 16:04:57 +01:00
parent 7393eafde7
commit c52889db27

View file

@ -1,6 +1,6 @@
description "Docker daemon"
start on local-filesystems
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
limit nofile 524288 1048576
limit nproc 524288 1048576