mirror of https://github.com/docker/cli.git
Deprecate "daemon" subcommand
The daemon is in a separate (dockerd) binary since docker 1.12, so should no longer be used. This marks the command as deprecated, and adds it to the deprecated features list. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b2c77abc35
commit
4a2f7d8092
|
@ -24,6 +24,7 @@ func newDaemonCommand() *cobra.Command {
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runDaemon()
|
return runDaemon()
|
||||||
},
|
},
|
||||||
|
Deprecated: "and will be removed in Docker 1.16. Please run `dockerd` directly.",
|
||||||
}
|
}
|
||||||
cmd.SetHelpFunc(helpFunc)
|
cmd.SetHelpFunc(helpFunc)
|
||||||
return cmd
|
return cmd
|
||||||
|
|
Loading…
Reference in New Issue