Docker Connector Settings Reference
This topic provides settings and permissions for the Docker Connector.
Docker registry rate limits
For pulling Docker images from Docker repos, Harness is restricted by the limits of the Docker repo. For example, Docker Hub limits.
Docker Registries in Cloud Platforms
The Docker Connector is platform-agnostic and can be used to connect to any Docker container registry, but Harness provides first class support for registries in AWS and GCR.
See:
Docker Registry Permissions Required
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.
If you are using anonymous access to a Docker registry for a Kubernetes deployment, then imagePullSecrets
should be removed from the container specification. This is standard Kubernetes behavior and not related to Harness specifically.
Name
The unique name for this Connector.
ID
See Entity Identifier Reference.
Description
Text string.
Tags
See Tags Reference.
Docker Registry URL
The URL of the Docker Registry. This is usually the URL used for your docker login credentials.
To connect to a public Docker registry like Docker Hub, use https://registry.hub.docker.com/v2/
.
To connect to a private Docker registry, use https://index.docker.io/v2/
.
Provider Type
The Docker registry platform that you want to connect. Some examples:
- Docker Hub
- Harbor
- Quay
Authentication
You can authenticate using username and password, or select anonymous.
Credentials
The username and password for the Docker registry account.
The password uses a Harness Encrypted Text secret.