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:
Sebastiaan van Stijn 2016-09-22 22:38:18 +02:00
parent b2c77abc35
commit 4a2f7d8092
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ func newDaemonCommand() *cobra.Command {
RunE: func(cmd *cobra.Command, args []string) error {
return runDaemon()
},
Deprecated: "and will be removed in Docker 1.16. Please run `dockerd` directly.",
}
cmd.SetHelpFunc(helpFunc)
return cmd