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

Limited platforms for docker image #698

Open
hsiliev opened this issue Feb 17, 2025 · 0 comments
Open

Limited platforms for docker image #698

hsiliev opened this issue Feb 17, 2025 · 0 comments

Comments

@hsiliev
Copy link

hsiliev commented Feb 17, 2025

Running OpenArchiefbeheer on Apple M1-4 produces warnings like:

 ! openarchiefbeheer-web The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested               0.0s
 ! openarchiefbeheer-celery The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested            0.0s
 ! openarchiefbeheer-celery-beat The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested       0.0s

If I'm not mistaked, just adding --platform linux/amd64 while building the Docker image should solve this.

Potentially adding more platforms would also allow use on ARM VMs in clouds like Hetzner

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

1 participant