Merge pull request #169 from mareknovotny/issue168
Issue 168: fixing README.md Docker-GC running in docker
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user