{"id":18866461,"url":"https://github.com/nordcloud/dockerhub-migration","last_synced_at":"2025-08-12T16:11:07.512Z","repository":{"id":82360994,"uuid":"308661639","full_name":"nordcloud/dockerhub-migration","owner":"nordcloud","description":"This repository contains tooling around changing Dockerhub images to self-hosted repository.","archived":false,"fork":false,"pushed_at":"2020-10-30T15:07:12.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-01T09:49:06.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nordcloud.png","metadata":{"files":{"readme":"README.md","changelog":"change.txt","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-30T14:55:24.000Z","updated_at":"2020-10-30T15:07:15.000Z","dependencies_parsed_at":"2023-03-03T01:15:57.807Z","dependency_job_id":null,"html_url":"https://github.com/nordcloud/dockerhub-migration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nordcloud/dockerhub-migration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordcloud%2Fdockerhub-migration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordcloud%2Fdockerhub-migration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordcloud%2Fdockerhub-migration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordcloud%2Fdockerhub-migration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nordcloud","download_url":"https://codeload.github.com/nordcloud/dockerhub-migration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nordcloud%2Fdockerhub-migration/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270092921,"owners_count":24525524,"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-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2024-11-08T05:06:36.669Z","updated_at":"2025-08-12T16:11:07.482Z","avatar_url":"https://github.com/nordcloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-rate-limit-healer\nThis repository contains tooling around changing Dockerhub images\nto self-hosted repository.\n\nSince Dockerhub is going to introduce rate-limitation of 100 pulls in 6 hours\nyou may experience fails in builds and deployments from the 1st of November, 2020.\n\n[Read more](https://cloud.google.com/blog/products/containers-kubernetes/mitigating-the-impact-of-new-docker-hub-pull-request-limits)\n\n## BE AWARE!\nThis tooling has no warranties of any functionality, validate the end result before\ndeploying to your clusters!\n\n## How you use?\n1) Install requirements: `pip install -r requirements.txt`\n\n2) Run `discover.sh \u003e report.txt` it is going to use your kubectl configuration\nto check all the namespaces in your cluster and report images being used from Dockerhub.\n\n3) Set `DOCKER_MIRROR_REPO` environmental variable where you want your Dockerhub images\nmirrored to. (Example: `export DOCKER_MIRROR_REPO=\"gcr.io/greg-259714`)\n\nNote that it works with any docker repository assuming you have the proper permissions from\nthe host machine where you execute this script.\n\n4) Run `mirror.py` - this command is going to pull all the images you have in your cluster\nfrom Dockerhub then push them to the target repository (e.g.: GCR)\n\n5) Running this command is going to create `changes.txt` that has the mapping\nbetween the Dockerhub image and the newly mirrored image.\n\n6) Now you can run `python heal-manifest.py \u003cPATH_TO_MANIFEST.yaml\u003e`, this command\nis going to print to the stdout the healed manifest with the changed images pointing to the\nnew repo.\n\n7) Before doing any apply be super cautious and check the result!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnordcloud%2Fdockerhub-migration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnordcloud%2Fdockerhub-migration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnordcloud%2Fdockerhub-migration/lists"}