All Projects → mdlavin → copy-docker-image

mdlavin / copy-docker-image

Licence: other
Copy a Docker image between registries without a full Docker installation

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to copy-docker-image

Sas Container Recipes
A collection of recipes and other resources for building containers that include SAS Viya software.
Stars: ✭ 71 (+108.82%)
Mutual labels:  docker-registry
Docker Registry Manifest Cleanup
Cleans up docker registry by removing untagged manifests from the registry
Stars: ✭ 127 (+273.53%)
Mutual labels:  docker-registry
Docker Build With Cache Action
Build and push docker images caching each stage to reduce build time
Stars: ✭ 228 (+570.59%)
Mutual labels:  docker-registry
Reg
Docker registry v2 command line client and repo listing generator with security checks.
Stars: ✭ 1,485 (+4267.65%)
Mutual labels:  docker-registry
Owasp Workshop
owasp-workshop: Orchetraing containers with Kubernetes
Stars: ✭ 116 (+241.18%)
Mutual labels:  docker-registry
Login Action
GitHub Action to login against a Docker registry
Stars: ✭ 149 (+338.24%)
Mutual labels:  docker-registry
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (+70.59%)
Mutual labels:  docker-registry
Nexus Cli
Nexus CLI for Docker Registry v2 🐳
Stars: ✭ 236 (+594.12%)
Mutual labels:  docker-registry
Jib
🏗 Build container images for your Java applications.
Stars: ✭ 11,370 (+33341.18%)
Mutual labels:  docker-registry
Docker Credential Gcr
A Docker credential helper for GCR users
Stars: ✭ 192 (+464.71%)
Mutual labels:  docker-registry
Dockernotes
Docker入门精华版
Stars: ✭ 107 (+214.71%)
Mutual labels:  docker-registry
Europa
Puppet Container Registry
Stars: ✭ 114 (+235.29%)
Mutual labels:  docker-registry
Deckschrubber
Deckschrubber inspects images of a Docker Registry and removes those older than a given age. 🔆🚢
Stars: ✭ 176 (+417.65%)
Mutual labels:  docker-registry
Imagewolf
Fast Distribution of Docker Images on Clusters
Stars: ✭ 94 (+176.47%)
Mutual labels:  docker-registry
Docker Registry Ui
Docker Registry UI
Stars: ✭ 233 (+585.29%)
Mutual labels:  docker-registry
Vili
Stars: ✭ 62 (+82.35%)
Mutual labels:  docker-registry
Docker Reg Tool
Docker registry cli tool, primarily for deleting images.
Stars: ✭ 144 (+323.53%)
Mutual labels:  docker-registry
Docker Registry Browser
🐳 Web Interface for the Docker Registry HTTP API V2 written in Ruby on Rails.
Stars: ✭ 239 (+602.94%)
Mutual labels:  docker-registry
Ormb
Docker for Your ML/DL Models Based on OCI Artifacts
Stars: ✭ 234 (+588.24%)
Mutual labels:  docker-registry
Containerregistry
A set of Python libraries and tools for interacting with a Docker Registry.
Stars: ✭ 183 (+438.24%)
Mutual labels:  docker-registry

copy-docker-image - Copy docker images without a full docker installation

Build Status

Overview

When doing automated deployments, especially when using AWS ECR in multiple accounts, you might want to copy images from one registry to another without the need for a full docker installation. At LifeOmic we wanted to orchestrate the copying of images while executing inside a container without exposing a full Docker socket just for image manipulation.

To copy an image between two anonymous repositories, you can use a command line like:

$ copy-docker-image --src-repo http://registry1/ --dest-repo http://registry2 --repo project

To specify an image tag, just add a --tag argument like:

$ copy-docker-image --src-repo http://registry1/ --dest-repo http://registry2 --repo project --tag v1

Integration with AWS ECR

Because copy to AWS ECR was common a special URL format was added to automatically look up the right HTTPS URL and authorization token. Assuming a AWS CLI profile has been created for your account you can use a command like:

$ copy-docker-image --src-repo http://registry1/ --dest-repo ecr:<account-id> --repo project

Installation

Pre-built binaries for tagged releases are available on the releases page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].