Skip to main content

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-registry-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

Function Description parameters
is_container_running() return status true or false whether a container is running with given name or not container_name:str
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 image:str, private_reg: bool
push_image() Push image to private_container_registry image: str
delete_image() Deletes image from private_containe_registry by default image: str, private_reg:bool

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docker_registry_py-0.1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docker_registry_py-0.1.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file docker_registry_py-0.1.3.tar.gz.

File metadata

  • Download URL: docker_registry_py-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for docker_registry_py-0.1.3.tar.gz
Algorithm Hash digest
SHA256 bad6b8af5b93e51c0987c63c044cf66d09afa3287d1c370577a8ce9938c56154
MD5 710c9e008b4f1ebf0d639d237d2cc09e
BLAKE2b-256 e65cb1bcc8a729009e3184ef25aeb8df791418e67f7135a23f70a690e3061cb5

See more details on using hashes here.

File details

Details for the file docker_registry_py-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_registry_py-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea717758f4e50ef6dad76beeb11cc0e33cc1a9c2e232a20468b0f617df03bcbb
MD5 33607754c8e992d32de589f60094fb7f
BLAKE2b-256 8f74d12d7d7b8a01e5c53b6e831178b17686441d32aafffde5b2637c8d8a6d05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page