mirror of
https://github.com/Tecnativa/docker-socket-proxy
synced 2024-12-22 14:48:08 +00:00
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 \
|
||||
--name dockerproxy \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v /run/docker-filtered:/run/docker-filtered \
|
||||
-p 127.0.0.1:2375:2375 \
|
||||
tecnativa/docker-socket-proxy
|
||||
|
||||
@ -53,6 +54,10 @@ requests that should never happen.
|
||||
|
||||
$ export DOCKER_HOST=tcp://localhost
|
||||
|
||||
or
|
||||
|
||||
$ export DOCKER_HOST=unix:///run/docker-filtered/docker.sock
|
||||
|
||||
3. You can see the docker version:
|
||||
|
||||
$ docker version
|
||||
@ -138,6 +143,13 @@ does not need.
|
||||
- `TASKS`
|
||||
- `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
|
||||
|
||||
- [1.27](https://docs.docker.com/engine/api/v1.27/)
|
||||
|
Loading…
Reference in New Issue
Block a user