Official Repository

Last pushed: 6 days ago
Short Description
The Docker Registry 2.0 implementation for storing and distributing Docker images
Full Description

Supported tags and respective Dockerfile links

Quick reference

Docker Registry

This image contains an implementation of the Docker Registry HTTP API V2 for use with Docker 1.6+. See github.com/docker/distribution for more details about what it is.

Run a local registry: Quick Version

$ docker run -d -p 5000:5000 --restart always --name registry registry:2

Now, use it from within Docker:

$ docker pull ubuntu
$ docker tag ubuntu localhost:5000/ubuntu
$ docker push localhost:5000/ubuntu

Recommended Reading

The documentation over at docs.docker.com is a good place to learn more about what the registry is, how it works, and how to use it.

Specifically, the section regarding deployment has pointers for more complex use cases than simply running a registry on localhost.

Support

If you are interested in commercial support, the Docker Trusted Registry provides an image registry, LDAP/Active Directory integration, security certificates, and more in a solution that includes commercial support.

Docker Pull Command

Comments (47)
shahjad123
2 months ago

How will i pull images from docker registry??

dyhfighter
7 months ago

where is the docker-registry v1 0.9.1 image?
and how can i get that?

kaleeswaran
8 months ago

While pushing to the new registry From v1 to v2, i got the below error message /var/lib/docker/devicemapper/mnt/e0d1095bc883a580d60a2a29542536b3870742ea7295451504a5e159cac0c588/rootfs/.wh..wh.plnk/588.249615: no such file or directory.

Kindly help me to proceed further ..

srhopkins
a year ago

The env variables for 2.5.0 all changed. Can someone update the documentation to follow https://docs.docker.com/registry/configuration/#/override-specific-configuration-options?

zhuwenjie
a year ago

docker run -d --net=host --restart=always --name registry \
-v pwd/data:/var/lib/registry \
-v pwd/auth:/auth \
-e "REGISTRY_AUTH=htpasswd" \
-e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \
-v pwd/certs:/certs \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
registry:2

i run this cmd ,and docker logs registry

panic: unable to configure authorization (htpasswd): "path" must be set for htpasswd access controller

goroutine 1 [running]:
panic(0xc2a220, 0xc8203cae20)
/usr/local/go/src/runtime/panic.go:481 +0x3e6

sothawo
a year ago

please update the docs! version 2.5.0 writes it's data to /var/lib/registry and NOT to /tmp/registry-dev

jodumont
a year ago

don't forget to specify the version your want, such as docker mention here : https://docs.docker.com/registry/deploying/

such as an exemple : docker run -d -p 5000:5000 --restart=always --name registry registry:2

alvinliu
a year ago

how to set a username and password

ivanjobs
a year ago

docker pull latest registry, bash into container, found a bunch of py code, cool?

heyinsoo
a year ago

s3 storage drive doesn't support region 'ap-northeast-2'.

Please fix this.