A convenience script to list and delete registries from docker registry.
Project description
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
File details
Details for the file docker-registry-admin-1.0.2.tar.gz
.
File metadata
- Download URL: docker-registry-admin-1.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7c114b77bb093facb0a8f676c630048dccc431034796835fa5d3898dac46d43f
|
|
MD5 |
13f434847516b3fd77fee85e8a708dbf
|
|
BLAKE2b-256 |
41aec3ca5b27354b014830a7eea98f6d28173d4973d17b7e102c1a1ee2bf48fa
|