Merge pull request #169 from mareknovotny/issue168

Issue 168: fixing README.md Docker-GC running in docker
This commit is contained in:
David Xia authored and GitHub committed 2018-11-15 20:47:42 -05:00
commit c085963626
1 file changed
+1 -1
+1 -1
View File
@@ -187,7 +187,7 @@ The docker-gc container requires access to the docker socket in order to
function, so you need to map it when running, e.g.:
```sh
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc:ro spotify/docker-gc
docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc:ro spotify/docker-gc
```
The `/etc` directory is also mapped so that it can read any exclude files