You can use your docker images hosted on Amazon Elastic Container Registry (ECR).

Overview

You can use your public images without the need to set any configuration.

In order to use private images hosted on ECR, you need to grant the build access.

Create a secret containing the credentials to use with ECR

{
    "credsStore": "ecr-login"
}
kubectl create secret generic docker-conf --from-file=config.json=./config.json -n polyaxon

Create a docker registry access in the UI

In Polyaxon's stores, add a new entry and link to this secret, and set the host to your ECR.

access

Make this access as default

After creating the access you need to mark it as default, so that Polyaxon uses it for scheduling builds.

Using the secret for pull only

If you wish to only use this credential secret for pulling images and the in-cluster registry for pushing, you should leave the host field empty.

You can allow the docker process to pull from different registries

To allow this access to pull from other registries, you can set as many other auths and credsStore.