DataRobot container images¶
The DataRobot platform uses Docker Hub as its primary container registry. While the DataRobot Helm chart is configured to use Docker Hub by default, it also supports using a dedicated private OCI registry.
Note
For additional information about Docker Hub, see the Docker Hub documentation.
Using private OCI Registry¶
You can install the DataRobot platform by pulling application images from either Docker Hub or a private OCI Registry. If you plan to use a private OCI Registry to store the DataRobot platform images, follow the steps listed below.
Set environment variables¶
To store configuration values, set the following variables (ensure that the below commands include the necessary context):
export DOCKERHUB_USERNAME="DATAROBOT_CUSTOMER_USERNAME"
export DOCKERHUB_PASSWORD="DATAROBOT_CUSTOMER_PASSWORD"
export DATAROBOT_VERSION="X.X.X"
export OCI_REGISTRY_URL="DOCKER_REGISTRY_URL"
export OCI_REGISTRY_USERNAME="DOCKER_REGISTRY_USERNAME"
export OCI_REGISTRY_PASSWORD="DOCKER_REGISTRY_PASSWORD"
Note
- Replace
DATAROBOT_CUSTOMER_USERNAMEandDATAROBOT_CUSTOMER_PASSWORDwith your Docker Hub credentials. You can request these credentials through the DataRobot Support Portal or by emailing support@datarobot.com. - Replace
X.X.Xwith the latest release chart version. - Replace
OCI_REGISTRY_URLwith your actual OCI Registry url. - Replace
DOCKER_REGISTRY_USERNAMEwith your actual OCI Registry username. - Replace
DOCKER_REGISTRY_PASSWORDwith your actual OCI Registry password.
Optionally, set an additional prefix for OCI repository names:
export DATAROBOT_REPO_PREFIX="" # Optional: Set additional prefix for DataRobot repository names
Note
DataRobot images are prefixed with datarobot/ by default.
Initial setup¶
To authenticate your Docker Hub session, run the following command:
echo ${DOCKERHUB_PASSWORD} | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
Download the main DataRobot chart from Docker Hub:
echo ${DOCKERHUB_PASSWORD} | helm registry login registry-1.docker.io -u ${DOCKERHUB_USERNAME} --password-stdin
helm pull oci://registry-1.docker.io/datarobot/datarobot-prime --version ${DATAROBOT_VERSION}
The process of loading images into your private registry is handled by a dedicated Helm plugin. To install the plugin, use the following command:
helm plugin install https://github.com/datarobot-oss/helm-datarobot-plugin.git
To authenticate your OCI Registry, run the following command:
echo ${DOCKERHUB_PASSWORD} | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
Load images into OCI Registry¶
Load images into your private registry by pulling DataRobot images from Docker Hub:
[ -z "${DATAROBOT_REPO_PREFIX}" ] || export PREFIX_ARG="--prefix ${DATAROBOT_REPO_PREFIX}"
helm datarobot sync datarobot-prime-${DATAROBOT_VERSION}.tgz ${PREFIX_ARG} -r ${OCI_REGISTRY_URL} -u ${OCI_REGISTRY_USERNAME} -p "${OCI_REGISTRY_PASSWORD}"
If it is a restricted network, you can load images using the compressed tarball artifact:
[ -z "${DATAROBOT_REPO_PREFIX}" ] || export PREFIX_ARG="--prefix ${DATAROBOT_REPO_PREFIX}"
helm datarobot load tarball-datarobot-${DATAROBOT_VERSION}.tar.zst ${PREFIX_ARG} -r ${OCI_REGISTRY_URL} -u ${OCI_REGISTRY_USERNAME} -p "${OCI_REGISTRY_PASSWORD}"