-
Notifications
You must be signed in to change notification settings - Fork 179
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
Comments
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 |
Same boat here as Netofbeing |
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? |
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. |
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. |
@theNetworkChuck Reaching out for some extra help, thank you! |
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). |
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 |
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?
The text was updated successfully, but these errors were encountered: