Update plugin.go
This commit is contained in:
parent
584495e10a
commit
9f69474b46
@ -213,6 +213,9 @@ func commandDaemon(daemon Daemon) *exec.Cmd {
|
|||||||
if daemon.Insecure && daemon.Registry != "" {
|
if daemon.Insecure && daemon.Registry != "" {
|
||||||
args = append(args, "--insecure-registry", daemon.Registry)
|
args = append(args, "--insecure-registry", daemon.Registry)
|
||||||
}
|
}
|
||||||
|
if daemon.IPv6 {
|
||||||
|
args = append(args, "--ipv6")
|
||||||
|
}
|
||||||
if len(daemon.Mirror) != 0 {
|
if len(daemon.Mirror) != 0 {
|
||||||
args = append(args, "--registry-mirror", daemon.Mirror)
|
args = append(args, "--registry-mirror", daemon.Mirror)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user