From 091f8000695cb620dfc081f095720e7b789d14a9 Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Mon, 10 Aug 2015 20:48:08 +0800 Subject: [PATCH] Change all docker -d to docker daemon Signed-off-by: Qiang Huang --- opts/opts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opts/opts.go b/opts/opts.go index 115ed5783b..398b8b4f37 100644 --- a/opts/opts.go +++ b/opts/opts.go @@ -15,9 +15,9 @@ import ( var ( alphaRegexp = regexp.MustCompile(`[a-zA-Z]`) domainRegexp = regexp.MustCompile(`^(:?(:?[a-zA-Z0-9]|(:?[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]))(:?\.(:?[a-zA-Z0-9]|(:?[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])))*)\.?\s*$`) - // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. docker -d -H tcp://:8080 + // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. docker daemon -H tcp://:8080 DefaultHTTPHost = "127.0.0.1" - // DefaultHTTPPort Default HTTP Port used if only the protocol is provided to -H flag e.g. docker -d -H tcp:// + // DefaultHTTPPort Default HTTP Port used if only the protocol is provided to -H flag e.g. docker daemon -H tcp:// // TODO Windows. DefaultHTTPPort is only used on Windows if a -H parameter // is not supplied. A better longer term solution would be to use a named // pipe as the default on the Windows daemon.