mirror of https://github.com/docker/cli.git
remove --init-path from client
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
1c0847b912
commit
dea809813e
|
@ -118,7 +118,6 @@ type containerOptions struct {
|
||||||
runtime string
|
runtime string
|
||||||
autoRemove bool
|
autoRemove bool
|
||||||
init bool
|
init bool
|
||||||
initPath string
|
|
||||||
|
|
||||||
Image string
|
Image string
|
||||||
Args []string
|
Args []string
|
||||||
|
@ -284,8 +283,6 @@ func addFlags(flags *pflag.FlagSet) *containerOptions {
|
||||||
|
|
||||||
flags.BoolVar(&copts.init, "init", false, "Run an init inside the container that forwards signals and reaps processes")
|
flags.BoolVar(&copts.init, "init", false, "Run an init inside the container that forwards signals and reaps processes")
|
||||||
flags.SetAnnotation("init", "version", []string{"1.25"})
|
flags.SetAnnotation("init", "version", []string{"1.25"})
|
||||||
flags.StringVar(&copts.initPath, "init-path", "", "Path to the docker-init binary")
|
|
||||||
flags.SetAnnotation("init-path", "version", []string{"1.25"})
|
|
||||||
return copts
|
return copts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue