Roadmap: [Docker Hub] Support ARM Automated Builds

Created on 12 Jun 2020  Â·  5Comments  Â·  Source: docker/roadmap

There are existing issues in the Hub repo but bringing this up in the roadmap repo too.

https://github.com/docker/hub-feedback/issues/1261
https://github.com/docker/hub-feedback/issues/1874

Tell us about your request
Today you can not "easily" build ARM based images using Docker Hub Automated Builds. There does appear to be a workaround by installing QEMU in a pre hook but I wouldn't say thats straightforward.

It would be great if ARM builds could be classed as a first citizen on Docker Hub Automated Builds. For performance an ARM build node would be the best option, but at this point pre installing QEMU and leveraging buildx would be a good start.

Which service(s) is this request for?
Docker Hub

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Building ARM based container images on Docker Hub Automated Builds

Are you currently working around the issue?
Yes, by building locally or via A1 / M6g instances in AWS.

community_new docker_hub

Most helpful comment

does it make sense to broaden this roadmap item to support all architectures that buildkit supports?
aka now that build kit is supported we would just specify the architectures we want either in the docker file or some sort of manifest?

All 5 comments

With reports of Macs switching to ARM, this really should be looked at again

does it make sense to broaden this roadmap item to support all architectures that buildkit supports?
aka now that build kit is supported we would just specify the architectures we want either in the docker file or some sort of manifest?

@scyto quite a few people want physical hardware builds not emulated or cross builds as their code builds slowly in emulation. Feel free to open a different issue about qemu support.

Any hope for this in 2021 ? :)

I've just tried setting up (emulated) multi-arch Docker Hub autobuilds with custom hooks, and it appears that Docker Hub runs Ubuntu 16.04 infrastructure (or equivalent Amazon Linux), which doesn't seem to have a recent enough kernel to support the QEMU emulation that buildkit requires for building multi-arch images 😞

According to https://github.com/docker/buildx#building-multi-platform-images Buildkit requires kernel > 4.8, whereas Ubuntu 16.04 only has kernel 4.4.*

I wonder if there's a plan to move Docker Hub builds to more recent infrastructure soon.

See also https://github.com/docker/hub-feedback/issues/1874

Was this page helpful?
0 / 5 - 0 ratings