0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-26 05:30:39 +00:00

Merge pull request #157 from danielkrainas/docker-data-root

use dockerd data-root option
This commit is contained in:
Thomas Boerger 2019-02-09 16:09:55 +01:00 committed by GitHub
commit 095ca8100b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,7 +320,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)