From 0c212c225f0413625720945b30118e1e57c8c89a Mon Sep 17 00:00:00 2001 From: Danny Krainas Date: Wed, 25 Oct 2017 11:40:14 -0400 Subject: [PATCH] use dockerd data-root option --- docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.go b/docker.go index e7ca7e0..53df3d4 100644 --- a/docker.go +++ b/docker.go @@ -281,7 +281,7 @@ func commandPush(build Build, tag string) *exec.Cmd { // helper function to create the docker daemon command. func commandDaemon(daemon Daemon) *exec.Cmd { - args := []string{"-g", daemon.StoragePath} + args := []string{"--data-root", daemon.StoragePath} if daemon.StorageDriver != "" { args = append(args, "-s", daemon.StorageDriver)