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

standard_init_linux.go:207: exec user process caused "exec format error" #6

Open
Chemikaze opened this issue May 27, 2020 · 9 comments

Comments

@Chemikaze
Copy link

I was able to install the thenetworkchuck_pihole docker on ubuntu with no issues, however when I tried installing it on RPi 3B+, I get the above error. I can install the original pihole no problem on the RPi, but then I don't have any automation.

Any thoughts?

@trekie86
Copy link

The reason you are seeing this error is because the container was built for an amd64 processor (https://hub.docker.com/layers/thenetworkchuck/networkchuck_pihole/latest/images/sha256-451c3b12506634cb279a04d2e31db3cd46b0e7dfcbfc6159d180b11c2ea84147?context=explore). The RaspberryPi is an ARM processor and therefore cannot run this container successfully.

@netofbeing
Copy link

The reason you are seeing this error is because the container was built for an amd64 processor (https://hub.docker.com/layers/thenetworkchuck/networkchuck_pihole/latest/images/sha256-451c3b12506634cb279a04d2e31db3cd46b0e7dfcbfc6159d180b11c2ea84147?context=explore). The RaspberryPi is an ARM processor and therefore cannot run this container successfully.

I would like to install it on my RaspberryPi 4, how can i modify the container to install on the Pi?

FYI - This is my first attempt at Docker and Containers.

Thanks

@JKinch
Copy link

JKinch commented Jun 11, 2020

Same boat here as Netofbeing

@netofbeing
Copy link

I'm guessing that a copy of the Image needs to be created for an ARM based processor.

Anyone know how to go about this?

@Chemikaze
Copy link
Author

I'm not really up on creating docker containers. If someone figures it out, it would be nice if it can be updated to pihole 5 as well.

@trekie86
Copy link

The best starting point would be if we have the Dockerfile and the original source from @theNetworkChuck in gitHub. With that information, a new Dockerfile can be defined using a base image that is from an ARM based processor.

@netofbeing
Copy link

@theNetworkChuck Reaching out for some extra help, thank you!

@stcoops
Copy link

stcoops commented Jan 18, 2021

I suspect most of you will have come to this conclusion anyway, but pi-hole's own docker image (https://hub.docker.com/r/pihole/pihole) will work fine on arm based processors running docker (in my experience at least).

@AlexGarciaG
Copy link

I could not find an official method for deploying the "thenetworkchuck/networkchuck_pihole" container on a Raspberry Pi, as it was built exclusively for the amd64 architecture. Nonetheless, this problem can be resolved by utilizing the latest version of "pihole/pihole," which is compatible with the arm architecture. To inmate the "thenetworkchuck/networkchuck_pihole" container, the scripts created by NetworkChuck will be integrated into the pihole container. You may examine my repository, where I have addressed this issue to save time. https://github.com/AlexGarciaG/networkchuck_pihole_for_arm

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

6 participants