A simple python program for managing container registry in private
Project description
Docker Registry Py
This is a simple python program to manage containers to upload, download and delete in private container regitry
To Install docker-reggistry-py
use
pip install docker_registry_py
To use in your py program:
from docker_registry import container_registry
create an object with class Docker_registry
in container_registry
example:
x = container_registry.Docker_registry()
list of functions in container_registry.Docker_registry
is_container_running()
return status true or false whether a container is running with given name or not
check_repo_in_pvt_reg()
prints the repos in private registry
setup_pvt_registry()
starts private registry with a given conatiner name as class object
pull_image()
Pulls image from docker hub if --no-private-reg or pulls image from private-container-registry by default
push_image()
Push image to private_container_registry
delete_image()
Deletes image from private_containe_registry by default
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
Built Distribution
Hashes for docker_registry_py-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f7aa612278a1f447405d5d8507c9ec1125c2a033c85a7f0b424bc120d7c3325 |
|
MD5 | f7e082868765f69c0a5efb87f67611d0 |
|
BLAKE2b-256 | 199ee6a0df300d1f13a2cef42fdedb24db2d1c9f017ef9758481a69e25fe427b |