|
@@ -2,15 +2,16 @@ package main
|
|
|
|
|
|
import (
|
|
|
"fmt"
|
|
|
+ "log"
|
|
|
+ "os"
|
|
|
+ "strings"
|
|
|
+
|
|
|
"github.com/dotcloud/docker"
|
|
|
"github.com/dotcloud/docker/api"
|
|
|
"github.com/dotcloud/docker/engine"
|
|
|
flag "github.com/dotcloud/docker/pkg/mflag"
|
|
|
"github.com/dotcloud/docker/sysinit"
|
|
|
"github.com/dotcloud/docker/utils"
|
|
|
- "log"
|
|
|
- "os"
|
|
|
- "strings"
|
|
|
)
|
|
|
|
|
|
var (
|
|
@@ -42,7 +43,7 @@ func main() {
|
|
|
flInterContainerComm = flag.Bool([]string{"#icc", "-icc"}, true, "Enable inter-container communication")
|
|
|
flGraphDriver = flag.String([]string{"s", "-storage-driver"}, "", "Force the docker runtime to use a specific storage driver")
|
|
|
flHosts = docker.NewListOpts(docker.ValidateHost)
|
|
|
- flMtu = flag.Int([]string{"#mtu", "-mtu"}, docker.DefaultNetworkMtu, "Set the containers network mtu")
|
|
|
+ flMtu = flag.Int([]string{"#mtu", "-mtu"}, 0, "Set the containers network MTU; if no value is provided: default to the default route MTU or 1500 if not default route is available")
|
|
|
)
|
|
|
flag.Var(&flDns, []string{"#dns", "-dns"}, "Force docker to use specific DNS servers")
|
|
|
flag.Var(&flHosts, []string{"H", "-host"}, "tcp://host:port, unix://path/to/socket, fd://* or fd://socketfd to use in daemon mode. Multiple sockets can be specified")
|