osrf / docker_images

A repository to hold definitions of docker images maintained by OSRF
Apache License 2.0
527 stars 168 forks source link

Please add arm64 image builds to Docker Hub #729

Closed kenaniah closed 3 weeks ago

kenaniah commented 3 months ago

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.

ruffsl commented 3 months ago

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:

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.

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

mikaelarguedas commented 1 month ago

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

mikaelarguedas commented 3 weeks ago

Closing this due to inactivity.

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