Update docker daemon to dockerd

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang 2016-12-26 22:27:56 +08:00 committed by Vincent Demeester
parent 8b725e10e7
commit ad345939d1
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import (
) )
var ( var (
// DefaultHTTPPort Default HTTP Port used if only the protocol is provided to -H flag e.g. docker daemon -H tcp:// // DefaultHTTPPort Default HTTP Port used if only the protocol is provided to -H flag e.g. dockerd -H tcp://
// These are the IANA registered port numbers for use with Docker // These are the IANA registered port numbers for use with Docker
// see http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker // see http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker
DefaultHTTPPort = 2375 // Default HTTP Port DefaultHTTPPort = 2375 // Default HTTP Port

View File

@ -2,5 +2,5 @@
package opts package opts
// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. docker daemon -H tcp://:8080 // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
const DefaultHTTPHost = "localhost" const DefaultHTTPHost = "localhost"

View File

@ -52,5 +52,5 @@ package opts
// to the delay if a user were to do 'docker run -H=tcp://localhost:2375...' // to the delay if a user were to do 'docker run -H=tcp://localhost:2375...'
// explicitly. // explicitly.
// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. docker daemon -H tcp://:8080 // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
const DefaultHTTPHost = "127.0.0.1" const DefaultHTTPHost = "127.0.0.1"