1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 20:52:58 +00:00

Add --insecure-registry flag to daemon arguments

This commit is contained in:
Josh Curl
2016-11-09 11:36:51 -08:00
parent ee16cd4311
commit 5fe26f3ab5
2 changed files with 20 additions and 18 deletions

View File

@@ -142,6 +142,7 @@ type EngineOpts struct {
Group string `yaml:"group,omitempty" opt:"group"`
Graph string `yaml:"graph,omitempty" opt:"graph"`
Host []string `yaml:"host,omitempty" opt:"host"`
InsecureRegistry []string `yaml:"insecure_registry" opt:"insecure-registry"`
LiveRestore *bool `yaml:"live_restore,omitempty" opt:"live-restore"`
LogDriver string `yaml:"log_driver,omitempty" opt:"log-driver"`
LogOpts map[string]string `yaml:"log_opts,omitempty" opt:"log-opt"`

View File

@@ -40,7 +40,8 @@ Key | Value
`exec_root` | String
`group` | String
`graph` | String
`host` | String
`host` | List
`insecure_registry` | List
`live_restore` | Boolean
`log_driver` | String
`log_opts` | Map where keys and values are strings