ADD documentation to README.md
This commit is contained in:
parent
536813c689
commit
93487b9153
12
README.md
12
README.md
@ -46,6 +46,7 @@ requests that should never happen.
|
|||||||
-d --privileged \
|
-d --privileged \
|
||||||
--name dockerproxy \
|
--name dockerproxy \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
-v /run/docker-filtered:/run/docker-filtered \
|
||||||
-p 127.0.0.1:2375:2375 \
|
-p 127.0.0.1:2375:2375 \
|
||||||
tecnativa/docker-socket-proxy
|
tecnativa/docker-socket-proxy
|
||||||
|
|
||||||
@ -53,6 +54,10 @@ requests that should never happen.
|
|||||||
|
|
||||||
$ export DOCKER_HOST=tcp://localhost
|
$ export DOCKER_HOST=tcp://localhost
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
$ export DOCKER_HOST=unix:///run/docker-filtered/docker.sock
|
||||||
|
|
||||||
3. You can see the docker version:
|
3. You can see the docker version:
|
||||||
|
|
||||||
$ docker version
|
$ docker version
|
||||||
@ -138,6 +143,13 @@ does not need.
|
|||||||
- `TASKS`
|
- `TASKS`
|
||||||
- `VOLUMES`
|
- `VOLUMES`
|
||||||
|
|
||||||
|
## Grant or revoke access to API listener
|
||||||
|
|
||||||
|
There are two listeners for the API and each of them can be disable the same way as the previous features:
|
||||||
|
|
||||||
|
- `SOCK_NETWORK` for the port tcp/2375
|
||||||
|
- `SOCK_DISK` for `/run/docker-filtered/docker.sock`
|
||||||
|
|
||||||
## Supported API versions
|
## Supported API versions
|
||||||
|
|
||||||
- [1.27](https://docs.docker.com/engine/api/v1.27/)
|
- [1.27](https://docs.docker.com/engine/api/v1.27/)
|
||||||
|
Loading…
Reference in New Issue
Block a user