From c4ca06fb8ca9659c0a0434a3f0aec4751e9c6bf2 Mon Sep 17 00:00:00 2001 From: Bill Maxwell Date: Fri, 27 Mar 2015 15:58:07 -0700 Subject: [PATCH] Make the post hook use the system docker When booting, if the network doesn't come up or the post hook is needed to complete bringing up the network, you need access to the baked in images. --- cmd/network/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/network/network.go b/cmd/network/network.go index 3978aa26..f8b0e779 100644 --- a/cmd/network/network.go +++ b/cmd/network/network.go @@ -73,7 +73,7 @@ func applyNetworkConfigs(cfg *config.Config) error { //post run if cfg.Network.PostRun != nil { - return docker.StartAndWait(config.DOCKER_HOST, cfg.Network.PostRun) + return docker.StartAndWait(config.DOCKER_SYSTEM_HOST, cfg.Network.PostRun) } return nil }