Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Prebuilt docker image for aarch64 #5807

Open
huww98 opened this issue Oct 3, 2022 · 3 comments
Open

Prebuilt docker image for aarch64 #5807

huww98 opened this issue Oct 3, 2022 · 3 comments

Comments

@huww98
Copy link

huww98 commented Oct 3, 2022

Short summary about the issue/question: Missing prebuilt docker images for aarch64

Brief what process you are following:

We want to deploy an OpenPAI cluster on Huawei Kunpeng CPUs. But find we can't.

$ docker run ... openpai/dev-box:v1.8.0
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /usr/local/start-script.sh: exec format error

Could you provide the prebuilt docker images for aarch64 architecture? Or are there any "install from source" docs?

@Binyang2014
Copy link
Contributor

Binyang2014 commented Oct 8, 2022

We don't know the base image for Kunpeng CPUs. If you want to build image for Kunpeng manually, you need to change https://github.com/microsoft/pai/blob/master/src/<servicename>/build/<servicename>.common.dockerfile. And change the
FROM ... sentence.

Since we don't verity if the components work in arm architecture, this change may cause some components failed.

@huww98
Copy link
Author

huww98 commented Oct 8, 2022

@Binyang2014 Thanks. I think the ubuntu base image would work. It has arm64 version. Do we have any documents about how every docker image is built?

@Binyang2014
Copy link
Contributor

please refer this line

sudo python build/pai_build.py build -c ${config_path}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants