mirror of https://github.com/docker/cli.git
IANA allocated Docker port: 2375
2375/2376 are assigned: http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker For #1440 Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
This commit is contained in:
parent
99e2e8c292
commit
6fa1105051
|
@ -103,9 +103,9 @@ To use lxc as the execution driver, use `docker -d -e lxc`.
|
||||||
The docker client will also honor the `DOCKER_HOST` environment variable to set
|
The docker client will also honor the `DOCKER_HOST` environment variable to set
|
||||||
the `-H` flag for the client.
|
the `-H` flag for the client.
|
||||||
|
|
||||||
$ docker -H tcp://0.0.0.0:4243 ps
|
$ docker -H tcp://0.0.0.0:2375 ps
|
||||||
# or
|
# or
|
||||||
$ export DOCKER_HOST="tcp://0.0.0.0:4243"
|
$ export DOCKER_HOST="tcp://0.0.0.0:2375"
|
||||||
$ docker ps
|
$ docker ps
|
||||||
# both are equal
|
# both are equal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue