From 584495e10a12660245f4e165a68ab7cfdbc9cbd9 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Mon, 10 Oct 2016 23:24:05 +0500 Subject: [PATCH] Update main.go --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.go b/main.go index f597321..9145cbf 100644 --- a/main.go +++ b/main.go @@ -65,6 +65,11 @@ func main() { Usage: "docker daemon allows insecure registries", EnvVar: "PLUGIN_INSECURE", }, + cli.BoolFlag{ + Name: "daemon.ipv6", + Usage: "docker daemon IPv6 networking", + EnvVar: "PLUGIN_IPV6", + }, cli.BoolFlag{ Name: "daemon.debug", Usage: "docker daemon executes in debug mode", @@ -163,6 +168,7 @@ func run(c *cli.Context) error { StoragePath: c.String("daemon.storage-path"), Insecure: c.Bool("daemon.insecure"), Disabled: c.Bool("daemon.off"), + IPv6: c.Bool("daemon.ipv6"), Debug: c.Bool("daemon.debug"), Bip: c.String("daemon.bip"), DNS: c.StringSlice("daemon.dns"),