More Docker. Easy Access. New Streamlined Plans. Learn more.
registry logo

registry

Docker Official Image

1B+

4.1K

Distribution implementation for storing and distributing of container images and artifacts

docker pull registry

Quick reference

Supported tags and respective Dockerfile links

Quick reference (cont.)

Distribution Registry

logo

This image contains an implementation of the OCI Distribution spec. See github.com/opencontainers/distribution-spec for more details about what it is. You can find the full source code in github.com/distribution/distribution.

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 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.

License

View license information for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository's registry/ directory.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

About Official Images

Docker Official Images are a curated set of Docker open source and drop-in solution repositories.

Why Official Images?

These images have clear documentation, promote best practices, and are designed for the most common use cases.