{"id":13416434,"url":"https://github.com/mdlavin/copy-docker-image","last_synced_at":"2025-08-02T04:04:43.360Z","repository":{"id":64306020,"uuid":"87972349","full_name":"mdlavin/copy-docker-image","owner":"mdlavin","description":"Copy a Docker image between registries without a full Docker installation","archived":false,"fork":false,"pushed_at":"2018-08-29T08:27:20.000Z","size":15,"stargazers_count":37,"open_issues_count":4,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T16:09:16.709Z","etag":null,"topics":["docker","docker-image","docker-registry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdlavin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-11T19:38:25.000Z","updated_at":"2024-09-22T06:28:31.000Z","dependencies_parsed_at":"2023-01-15T10:45:17.344Z","dependency_job_id":null,"html_url":"https://github.com/mdlavin/copy-docker-image","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mdlavin/copy-docker-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlavin%2Fcopy-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlavin%2Fcopy-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlavin%2Fcopy-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlavin%2Fcopy-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdlavin","download_url":"https://codeload.github.com/mdlavin/copy-docker-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlavin%2Fcopy-docker-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268333976,"owners_count":24233782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","docker-registry"],"created_at":"2024-07-30T21:00:58.777Z","updated_at":"2025-08-02T04:04:43.325Z","avatar_url":"https://github.com/mdlavin.png","language":"Go","readme":"# copy-docker-image - Copy docker images without a full docker installation\n[![Build Status](https://travis-ci.org/mdlavin/copy-docker-image.svg?branch=master)](https://travis-ci.org/mdlavin/copy-docker-image)\n\n## Overview\n\nWhen 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.\n\nTo copy an image between two anonymous repositories, you can use a command line like:\n\n```\n$ copy-docker-image --src-repo http://registry1/ --dest-repo http://registry2 --repo project\n```\n\nTo specify an image tag, just add a --tag argument like:\n\n```\n$ copy-docker-image --src-repo http://registry1/ --dest-repo http://registry2 --repo project --tag v1\n```\n\n## Integration with AWS ECR\n\nBecause 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:\n\n```\n$ copy-docker-image --src-repo http://registry1/ --dest-repo ecr:\u003caccount-id\u003e --repo project\n```\n \n## Installation\n\nPre-built binaries for tagged releases are available on the [releases page](https://github.com/mdlavin/copy-docker-image/releases).\n","funding_links":[],"categories":["Docker Images"],"sub_categories":["Builder"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdlavin%2Fcopy-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdlavin%2Fcopy-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdlavin%2Fcopy-docker-image/lists"}