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

[Question] ARM support #110

Closed
ParadoxLeon opened this issue Aug 21, 2024 · 3 comments
Closed

[Question] ARM support #110

ParadoxLeon opened this issue Aug 21, 2024 · 3 comments
Labels
question Further information is requested

Comments

@ParadoxLeon
Copy link

Is there arm support for like running on a pi5?
I tried running the container with --platform linux/amd64 found in #105
but I had no luck running the container.

LOG:

exec /usr/local/bin/docker-php-entrypoint: exec format error

@marcantondahmen marcantondahmen added the question Further information is requested label Aug 21, 2024
@marcantondahmen
Copy link
Owner

Hi, guess that depends on the images this docker image is base on. I have no resources at the moment to test it, but you can try to create your own image that is based on another PHP/Alpine image that supports your platform. But it looks like your platform is already supported by the underlying PHP image. Did you try to rebuild it from source?

@ParadoxLeon
Copy link
Author

sorry completely forgot to answer :)
I used the docker image.
I will try it in a couple of days with building my own image

@ParadoxLeon
Copy link
Author

ParadoxLeon commented Oct 22, 2024

after a long struggle and not knowing how to work with docker I found this on reddit.

docker run --privileged --rm tonistiigi/binfmt --install all and docker run -it --platform linux/amd64 -dp 80:80 -v /app:/app --name mysite automad/automad:v1 did the trick for me

sorry for keeping this issue up for so long <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants