diff --git a/README.md b/README.md index c7642bd..ddda480 100644 --- a/README.md +++ b/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/)