mirror of https://github.com/docker/cli.git
Windows: Remove --credentialspec flag
Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>
This commit is contained in:
parent
250c3f0db2
commit
c8f2ef1b1e
|
@ -115,7 +115,6 @@ type containerOptions struct {
|
||||||
autoRemove bool
|
autoRemove bool
|
||||||
init bool
|
init bool
|
||||||
initPath string
|
initPath string
|
||||||
credentialSpec string
|
|
||||||
|
|
||||||
Image string
|
Image string
|
||||||
Args []string
|
Args []string
|
||||||
|
@ -188,8 +187,6 @@ func addFlags(flags *pflag.FlagSet) *containerOptions {
|
||||||
flags.BoolVar(&copts.privileged, "privileged", false, "Give extended privileges to this container")
|
flags.BoolVar(&copts.privileged, "privileged", false, "Give extended privileges to this container")
|
||||||
flags.Var(&copts.securityOpt, "security-opt", "Security Options")
|
flags.Var(&copts.securityOpt, "security-opt", "Security Options")
|
||||||
flags.StringVar(&copts.usernsMode, "userns", "", "User namespace to use")
|
flags.StringVar(&copts.usernsMode, "userns", "", "User namespace to use")
|
||||||
flags.StringVar(&copts.credentialSpec, "credentialspec", "", "Credential spec for managed service account (Windows only)")
|
|
||||||
flags.SetAnnotation("credentialspec", "ostype", []string{"windows"})
|
|
||||||
|
|
||||||
// Network and port publishing flag
|
// Network and port publishing flag
|
||||||
flags.Var(&copts.extraHosts, "add-host", "Add a custom host-to-IP mapping (host:ip)")
|
flags.Var(&copts.extraHosts, "add-host", "Add a custom host-to-IP mapping (host:ip)")
|
||||||
|
|
Loading…
Reference in New Issue