|
@@ -3,10 +3,8 @@ package main
|
|
|
import (
|
|
|
"runtime"
|
|
|
|
|
|
- "github.com/docker/docker/daemon"
|
|
|
"github.com/docker/docker/daemon/config"
|
|
|
"github.com/docker/docker/opts"
|
|
|
- "github.com/docker/docker/plugin/executor/containerd"
|
|
|
"github.com/docker/docker/registry"
|
|
|
"github.com/spf13/pflag"
|
|
|
)
|
|
@@ -96,8 +94,8 @@ func installCommonConfigFlags(conf *config.Config, flags *pflag.FlagSet) error {
|
|
|
conf.MaxConcurrentUploads = &maxConcurrentUploads
|
|
|
conf.MaxDownloadAttempts = &maxDownloadAttempts
|
|
|
|
|
|
- flags.StringVar(&conf.ContainerdNamespace, "containerd-namespace", daemon.ContainersNamespace, "Containerd namespace to use")
|
|
|
- flags.StringVar(&conf.ContainerdPluginNamespace, "containerd-plugins-namespace", containerd.PluginNamespace, "Containerd namespace to use for plugins")
|
|
|
+ flags.StringVar(&conf.ContainerdNamespace, "containerd-namespace", config.DefaultContainersNamespace, "Containerd namespace to use")
|
|
|
+ flags.StringVar(&conf.ContainerdPluginNamespace, "containerd-plugins-namespace", config.DefaultPluginNamespace, "Containerd namespace to use for plugins")
|
|
|
|
|
|
flags.StringVar(&conf.DefaultRuntime, "default-runtime", config.StockRuntimeName, "Default OCI runtime for containers")
|
|
|
|