|
@@ -6,10 +6,9 @@ The optional `-x` flag may be used to remove the specified repositories or tagge
|
6
|
6
|
NOTES:
|
7
|
7
|
- This script stops the Registry container during cleanup to prevent corruption, making it temporarily unavailable to clients.
|
8
|
8
|
- This script assumes local storage (the **filesystem** storage driver).
|
9
|
|
- - This script may run stand-alone or dockerized. To run stand-alone, you must install **docker-py** and **pyyaml** with
|
|
9
|
+ - This script may run stand-alone or dockerized. To run stand-alone, you must install **docker-py** and **pyyaml** with:
|
10
|
10
|
|
11
|
|
- `pip3 install docker pyyaml`.
|
12
|
|
- - We do not use the [Docker Distribution API](https://github.com/docker/distribution/blob/master/docs/spec/api.md) because it lacks the support for removing tags. Also, we don't want to mess with authentication details.
|
|
11
|
+ `pip3 install docker pyyaml`
|
13
|
12
|
|
14
|
13
|
## Usage:
|
15
|
14
|
|