-
Notifications
You must be signed in to change notification settings - Fork 541
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
Build Error with Kaurd "/go/bin/kuard": not found #51
Comments
Hi. I faced the same problem. In my case, I use Mac with M1 and in the Dockerfile ARCH is set to 'amd64' so at stage 1 of the build the go-file is placed in the directory '/go/bin/linux-amd64/'. First I tried to change COPY command in the Dockerfile but I got a new error. So as a next step, I changed ARCH var to 'arm64' and now it works fine. |
Thank you so much! I am using a Macbook pro with the M1 chip, so yes that's likely one part of my issue. I tried to update
Any ideas on this one? I wonder if I just need to nuke the repo and reclone it and try again. |
I'm not sure you need to change ARCH in all places, because it is set as an env variable by the Dockerfile. In my case, I changed only in the Dockerfile. |
For who facing this issue on M1, 2: FROM --platform=linux/amd64 golang:1.12-alpine AS build
28: FROM --platform=linux/amd64 alpine And run with: $ docker run --rm -p 8080:8080 --platform linux/amd64 kuard |
I am on page 24 of Kubernetes up and Running, I am trying to run the example app for the first time.
I get the following error...
What can I do to resolve?
The text was updated successfully, but these errors were encountered: