{"id":18299705,"url":"https://github.com/containersolutions/docker-registry-proxy","last_synced_at":"2025-04-05T13:35:14.361Z","repository":{"id":31177398,"uuid":"34737856","full_name":"ContainerSolutions/docker-registry-proxy","owner":"ContainerSolutions","description":"Docker Registry 2.0 proxy with SSL and authentication","archived":false,"fork":false,"pushed_at":"2015-12-29T15:19:47.000Z","size":5,"stargazers_count":31,"open_issues_count":0,"forks_count":20,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-03-21T05:11:31.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ContainerSolutions.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":"2015-04-28T15:09:49.000Z","updated_at":"2022-10-08T13:34:52.000Z","dependencies_parsed_at":"2022-08-03T15:16:59.727Z","dependency_job_id":null,"html_url":"https://github.com/ContainerSolutions/docker-registry-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdocker-registry-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdocker-registry-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdocker-registry-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fdocker-registry-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainerSolutions","download_url":"https://codeload.github.com/ContainerSolutions/docker-registry-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247342634,"owners_count":20923631,"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-11-05T15:10:02.601Z","updated_at":"2025-04-05T13:35:14.099Z","avatar_url":"https://github.com/ContainerSolutions.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Registry 2.0 Proxy\n\nUse this image to run Docker Registry 2.0 behind nginx proxy, with SSL and basic_auth enabled.\n\n[Tutorial](http://www.container-solutions.com/2015/04/running-secured-docker-registry-2-0/)\n\n## Settings\n\nFirst run official Docker Registry 2.0 container:\n\n```\n#!/bin/bash\ndocker run --name docker-registry \\\n\t-v $(pwd)/data:/tmp/registry-dev \\\n\tregistry:2.0\n```\n\nThen run the proxy:\n\n```\n#!/bin/bash\ndocker run -p 443:443 \\\n\t-e REGISTRY_HOST=\"docker-registry\" \\\n\t-e REGISTRY_PORT=\"5000\" \\\n\t-e SERVER_NAME=\"localhost\" \\\n\t--link docker-registry:docker-registry \\\n\t-v $(pwd)/.htpasswd:/etc/nginx/.htpasswd:ro \\\n\t-v $(pwd)/certs:/etc/nginx/ssl:ro \\\n\tcontainersol/docker-registry-proxy\n```\n\n## Volumes\n\n- .htpasswd file with basic_auth credentials\n- a directory with `docker-registry.crt` and `docker-registry.key`\n\n## Environment Variables\n\n- REGISTRY_HOST ... hostname of the registry container\n- REGISTRY_PORT ... port number of the registry container\n- SERVER_NAME ... nginx server_name directive value\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fdocker-registry-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainersolutions%2Fdocker-registry-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fdocker-registry-proxy/lists"}