Skip to content

Not compatible with ppc64le Arch #7

New issue

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

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

Already on GitHub? # to your account

Closed
krishvoor opened this issue Jan 12, 2017 · 10 comments
Closed

Not compatible with ppc64le Arch #7

krishvoor opened this issue Jan 12, 2017 · 10 comments
Assignees

Comments

@krishvoor
Copy link

Given that provided zookeeper docker image is built based on https://github.com/31z4/zookeeper-docker/blob/master/3.4.9/Dockerfile which relies on openjdk:8-jre-alpine and inturn is a x86_64 docker image, the "docker run -it zookeeper:3.49" fails with exec format error .

@31z4
Copy link
Owner

31z4 commented Jan 22, 2017

Thank you for your report @harsha544! Unfortunately I don't have a machine to build, test and maintain such images 😞 Feel free to contribute!

@31z4 31z4 added the wontfix label Apr 1, 2017
@31z4 31z4 closed this as completed Apr 1, 2017
@31z4 31z4 added help wanted and removed wontfix labels Aug 17, 2017
@31z4
Copy link
Owner

31z4 commented Aug 17, 2017

This is definitely doable even on x86 machine and Building ARM containers on any x86 machine, even DockerHub is a good strating point.

Pull requests are welcome!

@31z4 31z4 reopened this Aug 17, 2017
@krishvoor
Copy link
Author

krishvoor commented Aug 17, 2017

Thank you reopening the issue.

I have had success earlier in running on ppc64le container on x86_64 arch (and ofcourse other way around too), however I uncovered certain issues/limitations whilst installing a deb package and at times bumped into issue whilst trying to run a service/daemon inside container.

I think it would be sane to get it working on ppc64le arch itself.

FWIW :- http://cloudgeekz.com/1352/powerpc-docker-images-on-intel.html

@vaibhavsood
Copy link

The zookeeper dockerfiles use openjdk:8-jre-alpine as the base image, however this is not multi-arch yet (as per this gliderlabs/docker-alpine#304, similar problem with orientdb as per comment here: docker-library/official-images#3480 (comment)), would need to wait till the docker-alpine ticket is resolved

@vaibhavsood
Copy link

Hi, gliderlabs/docker-alpine#304 has been resolved, ill work on the multi-arch changes

The first step would be to add to the dockerfiles here changes for other arch's, will raise a PR for this

@31z4 31z4 self-assigned this Nov 2, 2017
@31z4
Copy link
Owner

31z4 commented Nov 3, 2017

Progress has been made: docker-library/official-images#3672
Any help with testing the image on the actual ppc64le machine will be much appreciated @vaibhavsood @harsha544 🙏

@31z4 31z4 closed this as completed Nov 3, 2017
@vaibhavsood
Copy link

@31z4 Verified the new zookeeper container on ppc64le.

https://github.com/docker-library/official-images/tree/master/test/tests/zookeeper-basics runs correctly on the ppc64le container, also did some basic validation manually

@31z4
Copy link
Owner

31z4 commented Nov 7, 2017

That's great! Thanks a lot @vaibhavsood!

@krishvoor
Copy link
Author

@31z4 @vaibhavsood Thank you for your efforts. I am glad to see progress made in this direction, is my assumption correct that we have leveraged QEMU libraries and made this work ?

@31z4
Copy link
Owner

31z4 commented Nov 17, 2017

@harsha544 I'm not sure. For additional details, please check gliderlabs/docker-alpine#304

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants