{"id":15576612,"url":"https://github.com/abn/docker-registry","last_synced_at":"2026-03-16T22:01:04.778Z","repository":{"id":35661542,"uuid":"39936659","full_name":"abn/docker-registry","owner":"abn","description":"Docker registry (v2) only container","archived":false,"fork":false,"pushed_at":"2015-07-30T07:26:14.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T10:31:38.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-30T07:14:00.000Z","updated_at":"2022-06-28T16:18:58.000Z","dependencies_parsed_at":"2022-09-11T05:20:18.319Z","dependency_job_id":null,"html_url":"https://github.com/abn/docker-registry","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fdocker-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fdocker-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fdocker-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fdocker-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abn","download_url":"https://codeload.github.com/abn/docker-registry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243261249,"owners_count":20262810,"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","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-10-02T18:53:04.586Z","updated_at":"2025-12-28T02:15:18.424Z","avatar_url":"https://github.com/abn.png","language":"Makefile","readme":"# Docker Registry (v2) Container\n\nThis project puts [Docker Registry (v2)](https://github.com/docker/distribution) in scratch docker container. It is available on [Docker Hub](https://registry.hub.docker.com/u/alectolytic/registry/) and can be pulled using the following command.\n\n```sh\ndocker pull alectolytic/registry\n```\n\nYou will note that this is a tiny image.\n```\n$ docker images | grep docker.io/alectolytic/registry\ndocker.io/alectolytic/registry    latest    ad31451bf846    19 minutes ago    9.967 MB\n```\n\n## Persisted data deployment\nIn this example we deploy Docker Registry with data persisted via a data container.\n\n#### Create data container\n```sh\n# create data container\ndocker create  --entrypoint=_ -v /var/lib/registry --name docker-registry-data scratch\n```\n\n#### Start registry (with example configuration)\n```sh\ndocker run -d --name docker-registry -p 5000:5000 \\\n  --volumes-from docker-registry-data \\\n  alectolytic/registry\n```\n\n#### Start registry (with custom configuration)\n```sh\ndocker run -d --name docker-registry -p 5000:5000 \\\n  --volumes-from docker-registry-data \\\n  -v /path/to/config.yml:/config.yml \\\n  alectolytic/registry\n```\n\n**NOTE:** If running on an SELinux enabled system, run `chcon -Rt svirt_sandbox_file_t /path/to/config.yml` before staring the registry.\n\n#### Starting and stopping\nYou can start or stop `docker-registry` container using the following command.\n```sh\n# Starting\ndocker start docker-registry\n# stopping\ndocker stop docker-registry\n```\n\n#### Accessing data\nYou can access data from the data container using any container of your choice.\n```sh\n# using alpine (tiny busybox)\ndocker run --rm -it --volumes-from docker-registry-data alpine sh\n\n# using fedora\ndocker run --rm -it --volumes-from docker-registry-data fedora:latest bash\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fdocker-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabn%2Fdocker-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fdocker-registry/lists"}