-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can't start on armv6 (Raspberry Pi Zero W) #9
Comments
I'll take a look into that. It's kinda problem because Golang doesn't provide this image so I'll change the build to provide ARM32V6 as well. Thanks for reporting |
Thank you! Go's pretty good at cross-compiling - I wonder if there's a simpler way than pulling an entire go ARMv6 builder... (caveat: I don't know much about |
https://docs.docker.com/buildx/working-with-buildx/ notes that it's possible to use cross-compilation offered by some languages inside
|
Their demo looks fairly straightforward for cross-compilation:
Trouble would be converting docker's platform string |
Here's an example wrapper script of someone doing the conversion from docker platform to GOARCH: https://github.com/tonistiigi/xx/blob/master/golang/wrapper.sh#L26 |
Oh wow, it looks maybe as simple as adding two lines to your https://github.com/tonistiigi/xx/tree/master/golang Or it'd be pretty easy to take the bits of logic you want and avoid the dep. |
Here's an end-to-end example: chirpstack/chirpstack-docker#19 (comment) |
I think I have this working: https://hub.docker.com/repository/docker/markhnsn/arm_exporter/tags?page=1 Pull request soon |
Thanks! |
Hey there, looks like 52d0771 removed support for
arm32v6
, replacing it withlinux/arm,linux/arm64
.I've been using this container for a while on Raspberry Pi Zero W and it's started crashlooping with
Restarting (139) 7 seconds ago
, probably because of an unrecognized ARMv7 instruction.I don't suppose this would be as simple to fix as adding
linux/arm32v6
like this?Looks like
linux/arm/v6
is the format according to https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/Btw, thanks for maintaining this, and no worries if you're not interested in supporting ARMv6, I can do a fork - I've gotten a lot of value already out of your image :-)
The text was updated successfully, but these errors were encountered: