From b06624604bf5663f3045b0bf9c7911ada5a5345e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 22 Sep 2016 22:38:18 +0200 Subject: [PATCH] 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 Upstream-commit: 4a2f7d80920e4cdce78af9dc7ecbcd428f77b186 Component: cli --- components/cli/daemon_unix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/cli/daemon_unix.go b/components/cli/daemon_unix.go index 754bdeece3..f68d220c2f 100644 --- a/components/cli/daemon_unix.go +++ b/components/cli/daemon_unix.go @@ -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