-
Notifications
You must be signed in to change notification settings - Fork 3k
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
scipy-notebook fails with standard_init_linux.go:207: exec user process caused "exec format error"
#842
Comments
Following the argumentation of https://forums.docker.com/t/standard-init-linux-go-190-exec-user-process-caused-exec-format-error/49368/5 most likely it pulls a docker image with a wrong architecture. According to https://stackoverflow.com/questions/52767983/docker-error-standard-init-linux-go185-exec-user-process-caused-exec-format-e?rq=1 it would need the image to be multi-arch. At tiangolo/uwsgi-nginx-flask-docker#67 the solution was to explicitely build RaspberryPi images and store them separately on the hub. Should there be arm-compatible images on docker? Should they be maintained together with all the other images which already exist? |
@1kastner What would it take to build multi-architecture images? Would it effect the current images at all? |
At https://lobradov.github.io/Building-docker-multiarch-images/ a quick explanation is available. In a similar manner I could create a new base image for other architectures. An example for RaspberryPi can be seen at https://github.com/Microsoft/onnxruntime/blob/master/dockerfiles/Dockerfile.arm32v7 and another explanation at how docker works internally with multi-arch docker images at dotnet/dotnet-docker#775 . If templating and cross-compilation with qemu is used as suggested in the first link, it would affect the whole pipeline and needs appropriate extensive testing beforehand. If, on the other hand, I just add another Dockerfile, namely Dockerfile.arm32v7, and define it as needed, then the current pipeline would not be affected. The consequence would be though that I need to clone the git repository and build the image on a computer with a matching architecture, e.g. under qemu. I don't think the RaspberryPi would easily do that job. |
Some more input can be taken from https://blog.hypriot.com/post/setup-simple-ci-pipeline-for-arm-images/ |
We currently build x86 images on DockerHub. According to docker/hub-feedback#1261, it should be possible to configure DockerHub to build images for other architectures. I believe anyone can experiment with this setup in their own personal DockerHub account by forking this repo and setting up an automated build on the Hub like we recommend for community maintained stacks. |
The first problem lies here:
Obviously the |
At https://github.com/jjhelmus/berryconda somebody started a project to solve that. |
We're tracking all the work on arm images in #1019 so this issue is a duplicate. |
What docker image you are using?
jupyter/scipy-notebook
What complete docker command do you run to launch the container (omitting sensitive values)?
docker run jupyter/scipy-notebook
What steps do you take once the container is running to reproduce the issue?
Only enter the command to the command line.
What do you expect to happen?
The docker image to start
What actually happens?
Additional Informaton
I installed docker on a RaspberryPi 3b with
curl -sSL https://get.docker.com | sh
as described at https://howchoo.com/g/nmrlzmq1ymn/how-to-install-docker-on-your-raspberry-piThe RaspbeeryPi seems to have been detected as
arm32v7
as it can be seen with the hello-world image, i.e.The text was updated successfully, but these errors were encountered: