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
1 changed files with 6 additions and 0 deletions

View File

@ -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"),