A convenience script to list and delete registries from docker registry.
Project description
================
docker-registry-functions
================
``search-replace`` is a trivial Python script that implements
search/replace in text files.
``docker-registry-functions`` is a Python script that implements Docker Registry functions such as: listing repositories, listing tags from a repository, delete tags and delete a repository.
GITHUB
Copyright (c) 2019 Frederico Apolónia <fredericojcapolo@gmail.com>
Usage
-----
docker-registry list [-s|--size]
docker-registry list [-s|--size] <repository>
docker-registry delete <repository> <tag1> <tag2> ...
docker-registry delete-range <repository> <from-tag> <to-tag>
docker-registry delete-repository <repository>
**Note**: environment variable ``DOCKER_REGISTRY_URL`` must be set for all functions to work
**Note**: environment variable ``DOCKER_REGISTRY_DATA_PATH`` must be set for delete-repository to work
**Note**: environment variable ``DOCKER_REGISTRY_DATA_PATH`` is expected to specify the path to ``var/lib/registry/docker/registry/v2``
Where list will either:
* List all repositories present on a specified docker registry
* List all tags from a ``<repository>``
docker-registry-functions
================
``search-replace`` is a trivial Python script that implements
search/replace in text files.
``docker-registry-functions`` is a Python script that implements Docker Registry functions such as: listing repositories, listing tags from a repository, delete tags and delete a repository.
GITHUB
Copyright (c) 2019 Frederico Apolónia <fredericojcapolo@gmail.com>
Usage
-----
docker-registry list [-s|--size]
docker-registry list [-s|--size] <repository>
docker-registry delete <repository> <tag1> <tag2> ...
docker-registry delete-range <repository> <from-tag> <to-tag>
docker-registry delete-repository <repository>
**Note**: environment variable ``DOCKER_REGISTRY_URL`` must be set for all functions to work
**Note**: environment variable ``DOCKER_REGISTRY_DATA_PATH`` must be set for delete-repository to work
**Note**: environment variable ``DOCKER_REGISTRY_DATA_PATH`` is expected to specify the path to ``var/lib/registry/docker/registry/v2``
Where list will either:
* List all repositories present on a specified docker registry
* List all tags from a ``<repository>``
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for docker-registry-admin-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2397200e42bfb6e42f3e0882a3945b7072ff0d26827f25d6236dd6c64115595 |
|
MD5 | e50531d7aea0918248b8536cdfa41cf8 |
|
BLAKE2b-256 | 3f1270027e91b2b5d82cbf159310ea29f8fbead40cfec3ce698f2890bbb2dc71 |