Area: Deployment Issues
Sub-Area: Remote Executor / Docker Image Registry Configuration
Applies to: Cloud
Issue
You pull the DataHub Cloud Remote Executor image (for example <registry>/acryl-executor:v2.4.4-cloud or <registry>/datahub-executor:v2.4.4-cloud) through an internal Artifactory proxy or pull-through cache. The proxy gives you only the arm64 image, even when you pass --platform linux/amd64. The executor then fails to start on amd64 hosts.
You Might Be Asking
- Does the DataHub Cloud Remote Executor image support both
amd64andarm64? - Why does
docker pull --platform linux/amd64through my Artifactory proxy still give me anarm64image? - How do I check whether the problem is in my proxy or in the image DataHub publishes?
- Can I point my Artifactory remote at the DataHub Cloud registry instead of Docker Hub?
Cause
DataHub builds every released Remote Executor image for both linux/amd64 and linux/arm64. This covers the base tag and the -slim, -locked, -unbundled and -slim-unbundled variants. When DataHub copies a release into its customer registry, the copy keeps the full multi-architecture manifest list.
So the upstream tag lists both architectures. If your proxy returns only arm64 for that tag, the proxy is serving its own copy of the tag, and that copy is different from the upstream manifest. The fix is in the proxy, not in the image.
Solution
-
Inspect the tag in the upstream registry, without the proxy.
The DataHub Cloud registries are private. First run
docker loginagainst the upstream registry with the credentials DataHub gave you. Then inspect the tag:docker manifest inspect <upstream-registry>/<image>:<version>-cloudThe output lists one manifest per platform. You see one entry with
"architecture": "amd64"and one with"architecture": "arm64". If both are there, the upstream image is correct and the problem is in your proxy. -
Pull the
amd64image from upstream and check it.docker pull --platform linux/amd64 <upstream-registry>/<image>:<version>-cloud docker image inspect <upstream-registry>/<image>:<version>-cloud --format '{{.Architecture}}'The second command prints
amd64. -
Clear the proxy's copy of the tag.
Ask your Artifactory administrator to delete the cached manifest for this image and tag in the remote repository's cache. Follow JFrog's documentation for your Artifactory version. Then pull again through the proxy, so it fetches the manifest list from upstream:
docker pull --platform linux/amd64 <your-artifactory-host>/<repo>/<image>:<version>-cloud docker image inspect <your-artifactory-host>/<repo>/<image>:<version>-cloud --format '{{.Architecture}}'The second command prints
amd64. If it still printsarm64, compare thedocker manifest inspectoutput from the proxy with the output from step 1. -
Point your Artifactory remote at the DataHub Cloud registry (recommended).
An Artifactory remote repository that points at
docker.datahub.comis the recommended setup. Pull each image once and let Artifactory cache it.The Remote Executor setup guide lists
docker.datahub.comas a registry that hosts the Remote Executor image. The full image path is:docker.datahub.com/re/datahub-executor:<tag>For example,
docker.datahub.com/re/datahub-executor:v2.4.4-cloud-locked. Log in with:docker login docker.datahub.comUse the username
re. The password is a token. Contact DataHub Support to get your token.The image name changes when you move registries. The old image is
acryl-executor. In the DataHub Cloud registry it isdatahub-executor. The tag format stays the same (for examplev2.4.4-cloudorv2.4.4-cloud-slim). Update every image reference in your Helm values, task definitions and Dockerfiles, not only the Artifactory URL. Then repeat the checks in step 3 with the new path.If other images in the same Artifactory remote must keep pulling from Docker Hub, create a separate remote repository for
docker.datahub.com.Legacy source: The
acrylio/acryl-executorimage on Docker Hub is a legacy source. DataHub is retiring it. Do not use it for new setups. If you pull from it today, move todocker.datahub.comas soon as you can. -
If you build a custom executor image on top of the DataHub image, build it for the architecture of your nodes, or build a multi-arch image. See CPU architecture in Bundling Additional Connectors.
If the proxy still serves the wrong architecture after you clear its cache, and step 1 shows both architectures upstream, contact DataHub Support with the output of both docker manifest inspect commands.