Setting up a private index/registry

As we saw earlier, the public Docker registry is the available Docker Hub ( through which users can push/pull images. We can also host a private registry either on a local environment or on the cloud. There are a few ways to set up the local registry:

The easiest way to set it up is through the registry container itself.

Getting ready

Make sure the Docker daemon is running on ...

Get DevOps: Puppet, Docker, and Kubernetes now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.