{"id":19540567,"url":"https://github.com/sentratek-id/container-registry","last_synced_at":"2025-07-26T00:37:06.332Z","repository":{"id":261011885,"uuid":"876617008","full_name":"sentratek-id/container-registry","owner":"sentratek-id","description":"A simple registry container with a persistent data volume that is meant to be run locally","archived":false,"fork":false,"pushed_at":"2024-10-22T09:22:26.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T19:07:08.009Z","etag":null,"topics":["docker-image","docker-registry","registry-server"],"latest_commit_sha":null,"homepage":"","language":null,"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/sentratek-id.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T09:19:48.000Z","updated_at":"2024-10-23T03:45:56.000Z","dependencies_parsed_at":"2024-11-04T07:35:50.301Z","dependency_job_id":null,"html_url":"https://github.com/sentratek-id/container-registry","commit_stats":null,"previous_names":["sentratek-id/container-registry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sentratek-id/container-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentratek-id%2Fcontainer-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentratek-id%2Fcontainer-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentratek-id%2Fcontainer-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentratek-id%2Fcontainer-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentratek-id","download_url":"https://codeload.github.com/sentratek-id/container-registry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentratek-id%2Fcontainer-registry/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267093915,"owners_count":24034957,"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-07-25T02:00:09.625Z","response_time":70,"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-image","docker-registry","registry-server"],"created_at":"2024-11-11T03:04:54.799Z","updated_at":"2025-07-26T00:37:06.305Z","avatar_url":"https://github.com/sentratek-id.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple registry container\n\nThis simple registry container is meant to be run locally.\nIt is also meant to be accessed locally through `localhost:5000`.\nTo use it, simply run:\n\n```shell\ndocker compose up -d\n```\n\nThen you can tag your image and push it to this registry:\n\n```shell\ndocker tag \u003cimage_name\u003e localhost:5000/\u003crepository_name\u003e\ndocker push localhost:5000/\u003crepository_name\u003e\n```\n\n\u003e Replace `\u003cimage_name\u003e` and `\u003crepository_name\u003e` according to your project requirements.\n\u003e Note that you can also use the same name for `\u003cimage_name\u003e` and `\u003crepository_name\u003e`.\n\nAfter pushing the docker image, you can use it by pulling from this repository:\n\n```shell\ndocker pull localhost:5000/\u003crepository_name\u003e\n```\n\nThis container will store data inside `datadir/data`, so that images pushed within\ncan persist after the container is turned off.\n\n## Use case\n\nFor example, you have the following docker image: `project_docker`\nand you want it to be pushed to the registry.\nThen you can delete the local image, and later pull again from the registry.\nYou can run:\n\n```shell\ndocker compose up -d\ndocker tag project_docker localhost:5000/project_docker\ndocker push localhost:5000/project_docker\n```\n\nThen you delete the local image:\n\n```shell\n# deletes the local image and the retagged image\ndocker rmi project_docker localhost:5000/project_docker\n```\n\nLater you can pull it again from the registry:\n\n```shell\ndocker pull localhost:5000/project_docker\ndocker images\n```\n\nThat's all!\n\n**Reading materials:**\n\n- [How to Use Your Own Registry](https://www.docker.com/blog/how-to-use-your-own-registry-2/)\n- [Self hosted Docker registry](https://blog.aawadia.dev/2022/11/02/docker-registry-ci/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentratek-id%2Fcontainer-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentratek-id%2Fcontainer-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentratek-id%2Fcontainer-registry/lists"}