Registry Lab
A registry is a service for storing and accessing Docker images. Docker Cloud and Docker Store are the best-known hosted registries, which you can use to store public and private images. You can also run your own registry using the open-source Docker Registry, which is a Go application that can run in a Windows container.
What You Will Learn
You’ll learn how to:
-
build a Docker image which packages the Docker Registry application on Windows Nano Server;
-
run a local registry in a container and configure your Docker engine to use the registry;
-
generate SSL certificates (using Docker!) and run a secure local registry with a friendly domain name;
-
generate encrypted passwords (using Docker!) and run an authenticated, secure local registry over HTTPS with basic auth.
Note. The open-source registry does not have a Web UI, so there’s no friendly interface like Docker Cloud or Docker Store. Instead there is a REST API you can use to query the registry. For a local registry which has a Web UI and role-based access control, Docker, Inc. has the Trusted Registry product.
Prerequisites
You’ll need Docker running on Windows. You can follow the Windows Container Lab Setup to install Docker on Windows 10, or Windows 2016 - locally, on AWS and Azure.
You should be familiar with the key Docker concepts, and with Docker volumes: