Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 authored Aug 9, 2023
1 parent cbaad60 commit cb6f34a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ docker run --rm --volumes-from registry -v /var/run/docker.sock:/var/run/docker.
NOTES:
- To directly work on a directory you can specify a null container as empty string:
`docker run --rm -e REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/some/directory ghcr.io/ricardobranco777/clean_registry [--dry-run] [-x] "" [REPOSITORY[:TAG]...`
```bash
docker run --rm -e REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/some/directory ghcr.io/ricardobranco777/clean_registry [--dry-run] [-x] "" [REPOSITORY[:TAG]...
```
- The path to the socket can be found with:
`docker context inspect -f json default | jq -r '.[0].Endpoints.docker.Host'`
```bash
docker context inspect -f json default | jq -r '.[0].Endpoints.docker.Host'`
```
### With [remote Docker setup](https://docs.docker.com/engine/security/protect-access/)
Expand Down

0 comments on commit cb6f34a

Please sign in to comment.