adding --platform tag to docker run (bug fix)#399
Open
tharvipop wants to merge 1 commit intoprakhar1989:masterfrom
Open
adding --platform tag to docker run (bug fix)#399tharvipop wants to merge 1 commit intoprakhar1989:masterfrom
tharvipop wants to merge 1 commit intoprakhar1989:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ARM-based issue in
docker runI noticed the following bug while running the tutorial:
running
docker run -d -P --name static-site prakhar1989/static-siteresults 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 b040bc6f28a20bc0f80517b4d0ff7085d2bb3b28a894567f94d646074710a1e7After a bit of perusing, I found this fix
TL; DR:
Adding a
--platform linux/amd64commands helps arm-based users rundocker run.