Ricardo Branco 6 лет назад
Родитель
Сommit
1c01f95f40
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      README.md

+ 2
- 2
README.md Просмотреть файл

@@ -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]]...`

Загрузка…
Отмена
Сохранить