Go to file
2024-10-07 12:26:44 +03:00
cmd Refactor project structure 2024-09-30 19:31:22 +03:00
internal/app Refactor project structure 2024-09-30 19:31:22 +03:00
.env.example Initial commit 2024-09-29 23:32:56 +03:00
.gitignore Initial commit 2024-09-29 23:32:56 +03:00
go.mod Bump go version 2024-09-30 19:34:20 +03:00
go.sum Initial commit 2024-09-29 23:32:56 +03:00
main.go Load .env from executable path 2024-10-07 12:26:44 +03:00
Makefile Initial commit 2024-09-29 23:32:56 +03:00
README.md Add readme 2024-10-05 20:09:32 +03:00

Docker Registry Manager

A simple CLI tool for managing Docker images in a private registry.

Build

make

Configuration

Ensure the .env file is present in the same directory as the executable with the following variables:

REGISTRY_NAME=docker.example.com
REGISTRY_USERNAME=
REGISTRY_PASSWORD=

Usage

$ docker-registry-manager
Usage: registry [command] <args>

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