Docker Connector Settings Reference
This topic provides settings and permissions for the Docker Connector.
In this topic:
- Docker Registries in Cloud Platforms
- Docker Registry Permissions Required
- Name
- ID
- Description
- Tags
- Docker Registry URL
- Provider Type
- Authentication
- Credentials
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.
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 Docker Hub, you can use the URLs https://registry.hub.docker.com/v2/
or https://index.docker.io/v2/
. The URL will be different if you are using a private registry.
Provider Type
The Docker registry platform that you want to connect. Some examples:
- DockerHub
- Harbour
- 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.