What is Docker Registry and How Use It?
Docker images generally provided by registries. Docker officially provide allready one public registry for all Docker users. In this tutorial we will look Docker Registry related information.
Public registries generally provide for general usage for Docker users for different purposes. Some popular companies or software vendors provides their public registries without any fee. For example Ubuntu images can be get from following public registry.
List Of Official Public Repositories
In order to get all public repositories we will use following url where popular software images are listed.
Private registries generally use inside a group, company or organization. We can setup our own private registry where we can secure and manage images and repository according to our needs. This will be also helpful if we need modification of images and installation of priority software inside them. Private registry created with
docker run command.
Security is important factor for Docker images. One of the important step for security is authentication. We can set up authentication for our private registries or authentication while connecting remote registries. Important factor for authentication is TLS. In order to use authentication we must setup TLS for registry.
We can use
Amazon S3 in order to store registries. We provide some configuration to the Amazon S3 which is defined in the following link.
Version 2 specifies the HTTP API version. API is used to manage Docker registries. We can use Version 2 HTTP API for the following issues
- Image Verification
- PULL Image
- PUSH Image
- Resumable PUSH
- Resumable PULL
- LAYER UPLOAD DE_DUPLICATION
While working images for a private registry it may be complicated for newcomer. There are different User Interfaces for Docker Registry. Those are provides web interface to create, delete, modify, list images and related information. Here some of them