-
Notifications
You must be signed in to change notification settings - Fork 41
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
facing docker buildx error when building for multiple platforms. #436
Comments
https://docs.docker.com/engine/reference/commandline/buildx_create/#platform I think we should create a builder instance for multiple platforms, then do build. |
If this is found to be valid after triage, I would like to work on it. |
Found workaround today. The issue can be fixed by creating a builder instance before doing the build.
|
This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response. |
@prembhaskal As you have mentioned (and the hint in the main issue also hints towards), we need to create a build instance to fix this. However, there's another related issue that we need to fix (details in slack thread). We can either update this issue or close and reopen another one for this. |
@praveenrewar yes I think it is similar to the slack discussion, but I didn't see any issue link there. |
Yeah, we don't have an issue created for the slack discussion, I was saying we could open another one. |
I think we can close this and reopen another one with other context added too. |
@joaopapereira has created #451, closing this one. |
What steps did you take:
I was trying to build kapp-controller locally for multiple platforms by following steps from here
I gave below value for platform
and ran command
bash ./hack/deploy.sh
What happened:
I got below error from kbld
What did you expect:
I expected that kbld creates docker image with multiple manifest, one each for the given platform.
Anything else you would like to add:
Below are
Environment:
kbld --version
):Docker HUB
):ghcr.io/prembhaskal/kapp-controller-test
/etc/os-release
):MAC M2 , macOS Ventura 13.6
If building images using
docker
:docker buildx version
If building images using
buildkit
:kubectl buildkit version
):kubectl version
):If building images using
pack
pack version
):Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: