From 93487b91531a3e4725bab5ff838edd74560e187d Mon Sep 17 00:00:00 2001 From: Cell <> Date: Sat, 17 Feb 2018 18:46:28 +0100 Subject: [PATCH] ADD documentation to README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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/)