summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAntonio Murdaca <runcom@redhat.com>2017-04-10 13:11:58 +0200
committerAntonio Murdaca <runcom@redhat.com>2017-04-10 16:49:43 +0200
commita18d103b5ed4ed6ef95b2e4b582872a82022cceb (patch)
treede90dc2fc4c80e4b86a4e0fe18918d64a44f70e7 /cli
parent61d3ddfe780b58b69b8af4f2bbb4312b7b0f71a1 (diff)
downloaddocker-a18d103b5ed4ed6ef95b2e4b582872a82022cceb.tar.gz
remove --init-path from client
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/command/container/opts.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/command/container/opts.go b/cli/command/container/opts.go
index 7480bfaced..2c717431e0 100644
--- a/cli/command/container/opts.go
+++ b/cli/command/container/opts.go
@@ -118,7 +118,6 @@ type containerOptions struct {
runtime string
autoRemove bool
init bool
- initPath string
Image 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.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
}