Setting up a private index/registry
As we saw earlier, the public Docker registry is the available Docker Hub (https://registry.hub.docker.com/) 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:
- Use the Docker registry from Docker Hub
- Build an image from Dockerfile and run a registry container:
- Configure the distribution-specific package such as Fedora, which provides the docker-registry package that you can install and configure.
The easiest way to set it up is through the registry container itself.
Make sure the Docker daemon is running on ...