Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Arch Build Support #798

Closed
madudding opened this issue Oct 14, 2021 · 4 comments
Closed

Multi-Arch Build Support #798

madudding opened this issue Oct 14, 2021 · 4 comments
Labels
kind/enhancement New feature or request

Comments

@madudding
Copy link

Enhancement Request

Multi-arch build system equivalent to docker desktop (example docker buildx)

[Use Case Example](https://www.docker.com/blog/multi-arch-images/ #)

@jandubois jandubois added the kind/enhancement New feature or request label Oct 14, 2021
@jandubois
Copy link
Member

Thank you for filing this issue. This is currently not possible because nerdctl does not yet support the --platform option: containerd/nerdctl#103

For Rancher Desktop we plan to support using moby inside the VM instead of just containerd, so we can support the docker-cli on the host. This will bring multi-platform build support. Currently our image only includes the binaries for building aarch64/arm64 binaries. Would you want to target any other platforms?

This does not by itself allow running a multi-platform k8s cluster; that would require separate nodes for each platform. I've mentioned that in #588 before.

@AkihiroSuda
Copy link

Thank you for filing this issue. This is currently not possible because nerdctl does not yet support the --platform option: containerd/nerdctl#103

I guess I can almost complete this in nerdctl v0.13
containerd/nerdctl#448

@buu700
Copy link

buu700 commented Feb 4, 2022

I'm very interested in this as well, as it's currently a blocker for switching away from Docker Desktop. At a minimum, a partial implementation of the buildx API with no multi-arch support would be enough for us to get started using Rancher.

Edit: It looks like nerdctl does support what we need, and it's compatible enough with docker that we won't need to rewrite too much code. Thanks @AkihiroSuda!

@jandubois
Copy link
Member

I believe this is all implemented already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants