mirror of https://github.com/docker/cli.git
Update docker daemon to dockerd
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
8b725e10e7
commit
ad345939d1
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue