From 9f69474b46e4ac3c48c87d3016eae70079f54d13 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Mon, 10 Oct 2016 23:26:13 +0500 Subject: [PATCH] Update plugin.go --- plugin.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin.go b/plugin.go index 89fd7fd..0c30160 100644 --- a/plugin.go +++ b/plugin.go @@ -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) }