use dockerd data-root option

This commit is contained in:
Danny Krainas 2017-10-25 11:40:14 -04:00
parent 86c68d640c
commit 0c212c225f
1 changed files with 1 additions and 1 deletions

View File

@ -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)