Docker Registry. In the Docker registry, you provide credentials of your registry, where your images will be stored. And this will be shown to you as a drop-down on
Docker Build ConfigPage.
Docker Registrysection of
Global Configuration. Click on
Add docker registry.
others. You can select any one of them from the drop-down. By default, this value is
ecr. If you select ecr then you have to provide some information like-
AWS region, Access Key, and Secret Key. And if you select others then you have to provide the
Set as defaultoption, then this registry name will be set as default in the
Docker Registrysection inside the
Docker build configpage. This is optional. You can keep it disabled.
Allow Only Secure Connectionoption, then this registry allows only secure connections.
Allow Secure Connection With CA Certificateoption, then you have to upload/provide private CA certificate (ca.crt).
Allow Insecure Connectionoption.
Saveto save the configuration of the
docker login -u <username> -p <password> <registry-url>. However these registries might provide a more secured way for authentication, which we will support later. Some popular registries which can be used using username and password mechanism: