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
1 changed files with 1 additions and 1 deletions

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