mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-04 07:48:44 +00:00
Merge pull request #6181 from SvenDowideit/change-out-port-number
IANA allocated Docker port: 2375
This commit is contained in:
@@ -7,7 +7,7 @@ page_keywords: API, Docker, rcli, REST, documentation
|
||||
# 1. Brief introduction
|
||||
|
||||
- The Remote API is replacing rcli
|
||||
- Default port in the docker daemon is 4243
|
||||
- Default port in the docker daemon is 2375
|
||||
- The API tends to be REST, but for some complex commands, like attach
|
||||
or pull, the HTTP connection is hijacked to transport stdout stdin
|
||||
and stderr
|
||||
|
||||
@@ -7,7 +7,7 @@ page_keywords: API, Docker, rcli, REST, documentation
|
||||
# 1. Brief introduction
|
||||
|
||||
- The Remote API is replacing rcli
|
||||
- Default port in the docker daemon is 4243
|
||||
- Default port in the docker daemon is 2375
|
||||
- The API tends to be REST, but for some complex commands, like attach
|
||||
or pull, the HTTP connection is hijacked to transport stdout stdin
|
||||
and stderr
|
||||
|
||||
@@ -1297,4 +1297,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -1358,4 +1358,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -1370,4 +1370,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -7,7 +7,7 @@ page_keywords: API, Docker, rcli, REST, documentation
|
||||
# 1. Brief introduction
|
||||
|
||||
- The Remote API is replacing rcli
|
||||
- Default port in the docker daemon is 4243
|
||||
- Default port in the docker daemon is 2375
|
||||
- The API tends to be REST, but for some complex commands, like attach
|
||||
or pull, the HTTP connection is hijacked to transport stdout stdin
|
||||
and stderr
|
||||
@@ -999,5 +999,5 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
> docker -d -H="[tcp://192.168.1.9:4243](tcp://192.168.1.9:4243)"
|
||||
> docker -d -H="[tcp://192.168.1.9:2375](tcp://192.168.1.9:2375)"
|
||||
> –api-enable-cors
|
||||
|
||||
@@ -7,7 +7,7 @@ page_keywords: API, Docker, rcli, REST, documentation
|
||||
# 1. Brief introduction
|
||||
|
||||
- The Remote API is replacing rcli
|
||||
- Default port in the docker daemon is 4243
|
||||
- Default port in the docker daemon is 2375
|
||||
- The API tends to be REST, but for some complex commands, like attach
|
||||
or pull, the HTTP connection is hijacked to transport stdout stdin
|
||||
and stderr
|
||||
@@ -1081,4 +1081,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
> docker -d -H="192.168.1.9:4243" –api-enable-cors
|
||||
> docker -d -H="192.168.1.9:2375" –api-enable-cors
|
||||
|
||||
@@ -7,7 +7,7 @@ page_keywords: API, Docker, rcli, REST, documentation
|
||||
# 1. Brief introduction
|
||||
|
||||
- The Remote API is replacing rcli
|
||||
- Default port in the docker daemon is 4243
|
||||
- Default port in the docker daemon is 2375
|
||||
- The API tends to be REST, but for some complex commands, like attach
|
||||
or pull, the HTTP connection is hijacked to transport stdout stdin
|
||||
and stderr
|
||||
@@ -1127,4 +1127,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -7,7 +7,7 @@ page_keywords: API, Docker, rcli, REST, documentation
|
||||
# 1. Brief introduction
|
||||
|
||||
- The Remote API is replacing rcli
|
||||
- Default port in the docker daemon is 4243
|
||||
- Default port in the docker daemon is 2375
|
||||
- The API tends to be REST, but for some complex commands, like attach
|
||||
or pull, the HTTP connection is hijacked to transport stdout stdin
|
||||
and stderr
|
||||
@@ -1134,4 +1134,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -1235,4 +1235,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -1229,4 +1229,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -1275,4 +1275,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -1312,4 +1312,4 @@ stdout and stderr on the same socket. This might change in the future.
|
||||
To enable cross origin requests to the remote api add the flag
|
||||
"–api-enable-cors" when running docker in daemon mode.
|
||||
|
||||
$ docker -d -H="192.168.1.9:4243" --api-enable-cors
|
||||
$ docker -d -H="192.168.1.9:2375" --api-enable-cors
|
||||
|
||||
@@ -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 `-H` flag for the client.
|
||||
|
||||
$ docker -H tcp://0.0.0.0:4243 ps
|
||||
$ docker -H tcp://0.0.0.0:2375 ps
|
||||
# or
|
||||
$ export DOCKER_HOST="tcp://0.0.0.0:4243"
|
||||
$ export DOCKER_HOST="tcp://0.0.0.0:2375"
|
||||
$ docker ps
|
||||
# both are equal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user