Add Docker Registry Artifact Servers
Connect your Docker Registry artifact servers with Harness.
In this topic:
- Before You Begin
- Visual Summary
- Review: Docker Registry Permissions
- Step 1: Select Docker Registry Artifact Server
- Step 2: Display Name
- Step 3: Docker Registry URL
- Step 4: Enter the Credentials
Before You Begin
- See Harness Key Concepts.
Here's an example of the Docker Registry Artifact Source addition.
Review: Docker Registry Permissions
Make sure the connected user account has the following permissions.
- Read permission for all repositories.
The user needs access and permissions to the following:
- List images and tags
- Pull images
See Docker Permissions.
imagePullSecretsshould be removed from the container specification. This is standard Kubernetes behavior and not related to Harness specifically.
Step 1: Select Docker Registry Artifact Server
To connect to an artifact server, do the following:
- Click Setup.
- Click Connectors.
- Click Artifact Servers.
- Click Add Artifact Server.
- In Type, select Docker Registry.
Step 2: Display Name
Enter a name for the Docker Registry Server. This is the name you will use to identify this connection when adding an Artifact Source to a Harness Service.
Step 3: Docker Registry URL
Enter the URL of the Docker Registry. The Docker Registry URL for Docker Hub is
Step 4: Enter the Credentials
Optionally, enter the credentials. The Docker Registry Artifact Server does not require a username and password because you might use it to connect to a public repo.
For secrets and other sensitive settings, select or create a new Harness Encrypted Text secret.
Usage Scope is determined by the secret you selected.