diff options
author | John Howard <jhoward@microsoft.com> | 2016-06-07 12:15:50 -0700 |
---|---|---|
committer | John Howard <jhoward@microsoft.com> | 2016-10-06 09:32:22 -0700 |
commit | e85867cb68cc28208c91bb43fc5cdcff824c468e (patch) | |
tree | ae4db225fa44de7916ca468fe44d0947e7797fb6 /runconfig/opts | |
parent | 921a0bf686370587aec812a3a0efb002adf07614 (diff) | |
download | docker-e85867cb68cc28208c91bb43fc5cdcff824c468e.tar.gz |
Windows: Support credential specs
Signed-off-by: John Howard <jhoward@microsoft.com>
Diffstat (limited to 'runconfig/opts')
-rw-r--r-- | runconfig/opts/parse.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runconfig/opts/parse.go b/runconfig/opts/parse.go index 0fd48bbb9b..b7097c3ec8 100644 --- a/runconfig/opts/parse.go +++ b/runconfig/opts/parse.go @@ -105,6 +105,7 @@ type ContainerOptions struct { autoRemove bool init bool initPath string + credentialSpec string Image string Args []string @@ -173,6 +174,7 @@ func AddFlags(flags *pflag.FlagSet) *ContainerOptions { flags.BoolVar(&copts.privileged, "privileged", false, "Give extended privileges to this container") flags.Var(&copts.securityOpt, "security-opt", "Security Options") flags.StringVar(&copts.usernsMode, "userns", "", "User namespace to use") + flags.StringVar(&copts.credentialSpec, "credentialspec", "", "Credential spec for managed service account (Windows only)") // Network and port publishing flag flags.Var(&copts.extraHosts, "add-host", "Add a custom host-to-IP mapping (host:ip)") |