Update main.go

This commit is contained in:
Konstantin Lebedev 2016-10-10 23:24:05 +05:00 committed by GitHub
parent d6c7c3e01d
commit 584495e10a

View File

@ -65,6 +65,11 @@ func main() {
Usage: "docker daemon allows insecure registries", Usage: "docker daemon allows insecure registries",
EnvVar: "PLUGIN_INSECURE", EnvVar: "PLUGIN_INSECURE",
}, },
cli.BoolFlag{
Name: "daemon.ipv6",
Usage: "docker daemon IPv6 networking",
EnvVar: "PLUGIN_IPV6",
},
cli.BoolFlag{ cli.BoolFlag{
Name: "daemon.debug", Name: "daemon.debug",
Usage: "docker daemon executes in debug mode", Usage: "docker daemon executes in debug mode",
@ -163,6 +168,7 @@ func run(c *cli.Context) error {
StoragePath: c.String("daemon.storage-path"), StoragePath: c.String("daemon.storage-path"),
Insecure: c.Bool("daemon.insecure"), Insecure: c.Bool("daemon.insecure"),
Disabled: c.Bool("daemon.off"), Disabled: c.Bool("daemon.off"),
IPv6: c.Bool("daemon.ipv6"),
Debug: c.Bool("daemon.debug"), Debug: c.Bool("daemon.debug"),
Bip: c.String("daemon.bip"), Bip: c.String("daemon.bip"),
DNS: c.StringSlice("daemon.dns"), DNS: c.StringSlice("daemon.dns"),