Browse Source

Update README.md

master
Ricardo Branco 6 years ago
parent
commit
1c01f95f40
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      README.md

+ 2
- 2
README.md View File

@@ -5,7 +5,7 @@ The optional `-x` flag may be used to remove the specified repositories or tagge
5 5
 
6 6
 NOTES:
7 7
   - This script stops the Registry container during cleanup to prevent corruption, making it temporarily unavailable to clients.
8
-  - This script assumes local storage (the filesystem storage driver).
8
+  - This script assumes local storage (the **filesystem** storage driver).
9 9
   - This script may run standalone or dockerized.  To run standalone, you must install **docker-py** with `pip3 install docker` and **pyyaml** with `pip3 install pyyaml`.
10 10
   - This script is Python 3 only.
11 11
   
@@ -21,4 +21,4 @@ Options:
21 21
 
22 22
 ## Docker usage:
23 23
 
24
-`docker run --rm --volumes-from CONTAINER ricardobranco/clean_registry [OPTIONS] CONTAINER [REPOSITORY[:TAG]]...`
24
+`docker run --rm --volumes-from CONTAINER -v /var/run/docker.sock:/var/run/docker.sock ricardobranco/clean_registry [OPTIONS] CONTAINER [REPOSITORY[:TAG]]...`

Loading…
Cancel
Save