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

Missing AArch32 (ARMv7) support #463

Closed
lag-linaro opened this issue Dec 5, 2018 · 5 comments
Closed

Missing AArch32 (ARMv7) support #463

lag-linaro opened this issue Dec 5, 2018 · 5 comments

Comments

@lag-linaro
Copy link

Do you plan to add support soon?

Support for ARMv6 and ARMv8 is already present. There shouldn't be a reason for ARMv7 not to be.

@lag-linaro
Copy link
Author

lag-linaro commented Dec 5, 2018

Found this comment in the build script:

# arm32v7 is not officially supported by Alpine, but arm32v6 should still work.

I have tested the armhf Alpine offering by building versions/library-3.8/armhf/ on AArch32 (ARMv7).

Seeing as this works, could we provide some docker pullable images for ARMv7?

docker pull alpine from ARMv7 currently pulls down the x86_64 version of Alpine. Not sure why.

@lag-linaro
Copy link
Author

@tianon do you have any idea why x86_64 images are being pulled down on armv7 platforms?

user@armv7:~/projects/docker-hub/docker-alpine [master]$ docker pull alpine
Using default tag: latest
latest: Pulling from library/alpine
407dbd16b126: Pull complete
57a7a83980e1: Pull complete
Digest: sha256:d9831ae63c5546ea8b849ff01ca6d57c066e013f5c8a8f4432cd59742beb52c7
Status: Downloaded newer image for alpine:latest

user@armv7:~/projects/docker-hub/docker-alpine [master]$ docker run -ti alpine:latest
WARNING: Your kernel does not support memory swappiness capabilities, memory swappiness discarded.
exec format error
Error response from daemon: Cannot start container 4913f7d2dc171f081a157a887889980ec015641f7b8bdff071ade56b0363c43c: [8] System error: exec format error

user@armv7:~/projects/docker-hub/docker-alpine [master]$ docker cp 4913f7d2dc17:/bin/busybox .

user@armv7:~/projects/docker-hub/docker-alpine [master]$ file busybox
busybox: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, stripped

@tianon
Copy link
Collaborator

tianon commented Jan 17, 2019

Sounds like an old or misconfigured or miscompiled Docker daemon -- I've tested very recently on an armv7 device with a recent Docker version and got the armv6 image as expected.

@richlander
Copy link

Are there any plans to produce an ARMv7 image @ alpine? The call out to ARMv7 in the Alpine 3.9 announcement caught my attention! We'd love to know if that signals a commitment to produce ARMv7 container images. Microsoft will buy you a cake if it does!

I am a member of the .NET Core team at Microsoft. We publish images at microsoft/dotnet. We'd love to enable Alpine on ARM32, but are hesitant to enable our ARMv7 product on top of ARMv6 Alpine images. We assume that there has to be some downside to that option. I'd be interested in reading any docs that clarify what that configuration would mean in practice. We have many users who depend on our images, and expect us to only enable scenarios where he have high confidence, so we have to be pretty conservative.

The lack of Alpine on ARMv7 images prevent us from being able to promote Alpine as our preferred container OS since we can only use it for 64-bit. We use Debian and Ubuntu to cover both 32-bit and 64-bit scenarios, and offer convenient multi-arch tags for those OSes that cover that breadth.

Please consider publishing Alpine ARM32v7 images. Thank you. We'll be very quick to adopt them!

ncopa added a commit to ncopa/official-images that referenced this issue Mar 6, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://githib.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
ncopa added a commit to ncopa/official-images that referenced this issue Mar 6, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://github.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
ncopa added a commit to ncopa/official-images that referenced this issue Mar 6, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://github.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
ncopa added a commit to ncopa/official-images that referenced this issue Mar 7, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://github.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
@ncopa
Copy link
Collaborator

ncopa commented Mar 18, 2019

Please consider publishing Alpine ARM32v7 images. Thank you. We'll be very quick to adopt them!

This is fixed with docker-library/official-images#5516

@ncopa ncopa closed this as completed Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants