From f690d5c54f4d5d709068e7c6724cf8ea623c1c91 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Sat, 5 Oct 2024 20:09:32 +0300 Subject: [PATCH] Add readme --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..06d1f7d --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +## Docker Registry Manager +A simple CLI tool for managing Docker images in a private registry. + +### Build +```sh +make +``` + +### Configuration +Ensure the .env file is present in the same directory as the executable with the following variables: +```env +REGISTRY_NAME=docker.example.com +REGISTRY_USERNAME= +REGISTRY_PASSWORD= +``` + +### Usage +```sh +$ docker-registry-manager +Usage: registry [command] + +Commands: + images List all images in the registry + tags List tags for a specific image + rm Remove an image or tag from registry + push Push an image to the registry + tag Tag local image to push + +Examples: + registry images + registry tags my-image + registry rm my-image:latest + registry push my-image:latest + registry tag my-image:latest new-image:latest +``` \ No newline at end of file