docker_images icon indicating copy to clipboard operation
docker_images copied to clipboard

Please add arm64 image builds to Docker Hub

Open kenaniah opened this issue 11 months ago • 1 comments

I am using the arm64 architecture for development and production environments (MacOS on M1 chipset locally, AWS Graviton in production), but the docker images pushed to Docker Hub appear to only be built for amd64.

These prebuilt images do not always work due to architectural differences -- DDS does not work out of the box, and does not seem to be receptive to configuration.

I have confirmed that rebuilding the images for arm64 specifically solve all of the problems I've encountered so far, and it would be helpful to have arm64 images built and available upstream.

kenaniah avatar Mar 22 '24 18:03 kenaniah

but the docker images pushed to Docker Hub appear to only be built for amd64.

The ROS images hosted on Docker Hub's Official Library are built for all architecture supported by ROS:

  • https://hub.docker.com/_/ros/ (Official Library images)
  • https://hub.docker.com/r/arm64v8/ros (Mirror repo prior to architecture indexing)

These prebuilt images do not always work due to architectural differences

If your talking about the unofficial images under OSRF's org on Docker Hub, those Desktop tags are built using GitHub Actions from this repo that only accesses amd64 runners, as the official library images don't ship GUI packages for security reasons.

  • https://github.com/osrf/docker_images?tab=readme-ov-file#architectures

You may want to check that your version of docker resolves architecture index/manifest from modern registries.

ruffsl avatar Mar 28 '24 21:03 ruffsl

@kenaniah any update on this ? could you confirm why you couldn't pull the arm64v8 images from the official docker library ?

mikaelarguedas avatar May 24 '24 17:05 mikaelarguedas

Closing this due to inactivity.

@kenaniah don't hesitate to comment here and we can reopen

mikaelarguedas avatar Jun 10 '24 15:06 mikaelarguedas