0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-10 03:30:40 +00:00

Update plugin.go

This commit is contained in:
Konstantin Lebedev 2016-10-10 23:26:13 +05:00 committed by GitHub
parent 584495e10a
commit 9f69474b46

View File

@ -213,6 +213,9 @@ func commandDaemon(daemon Daemon) *exec.Cmd {
if daemon.Insecure && daemon.Registry != "" {
args = append(args, "--insecure-registry", daemon.Registry)
}
if daemon.IPv6 {
args = append(args, "--ipv6")
}
if len(daemon.Mirror) != 0 {
args = append(args, "--registry-mirror", daemon.Mirror)
}