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

adding --platform tag to docker run (bug fix) #399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tharvipop
Copy link

ARM-based issue in docker run

I noticed the following bug while running the tutorial:

running
docker run -d -P --name static-site prakhar1989/static-site

results in error ->

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested b040bc6f28a20bc0f80517b4d0ff7085d2bb3b28a894567f94d646074710a1e7

After a bit of perusing, I found this fix

TL; DR:

Adding a --platform linux/amd64 commands helps arm-based users run docker run.

@tharvipop tharvipop marked this pull request as draft September 3, 2024 04:08
@tharvipop tharvipop marked this pull request as ready for review September 3, 2024 04:08
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

Successfully merging this pull request may close these issues.

1 participant