|
@@ -6,8 +6,8 @@ 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 standalone or dockerized. To run standalone, you must install **docker-py** with `pip3 install docker` and **pyyaml** with `pip3 install pyyaml`.
|
10
|
|
- - This script is Python 3 only.
|
|
9
|
+ - This script may run stand-alone or dockerized. To run stand-alone, you must install **docker-py** and **pyyaml** with `pip3 install docker pyyaml`.
|
|
10
|
+ - 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
|
11
|
|
12
|
12
|
## Usage:
|
13
|
13
|
|