-
Notifications
You must be signed in to change notification settings - Fork 248
Fix docker command examples in "Getting started" in README #216
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,32 +18,32 @@ standard_init_linux.go:211: exec user process caused "exec format error" | |||||
|
|
||||||
| $ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | ||||||
|
|
||||||
| $ docker run --rm -t arm64v8/ubuntu uname -m | ||||||
| $ docker run --rm -t --platform linux/arm64v8 arm64v8/ubuntu uname -m | ||||||
| aarch64 | ||||||
| ``` | ||||||
|
|
||||||
| It works on many architectures and OS container images. | ||||||
|
|
||||||
| ``` | ||||||
| $ docker run --rm -t arm32v6/alpine uname -m | ||||||
| $ docker run --rm -t --platform linux/arm32v6 arm32v6/alpine uname -m | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| armv7l | ||||||
|
|
||||||
| $ docker run --rm -t ppc64le/debian uname -m | ||||||
| $ docker run --rm -t --platform linux/ppc64le ppc64le/debian uname -m | ||||||
| ppc64le | ||||||
|
|
||||||
| $ docker run --rm -t s390x/ubuntu uname -m | ||||||
| $ docker run --rm -t --platform linux/s390x s390x/ubuntu uname -m | ||||||
| s390x | ||||||
|
|
||||||
| $ docker run --rm -t arm64v8/fedora uname -m | ||||||
| $ docker run --rm -t --platform linux/arm64v8 arm64v8/fedora uname -m | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| aarch64 | ||||||
|
|
||||||
| $ docker run --rm -t arm32v7/centos uname -m | ||||||
| $ docker run --rm -t --platform linux/arm32v7 arm32v7/centos uname -m | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| armv7l | ||||||
|
|
||||||
| $ docker run --rm -t ppc64le/busybox uname -m | ||||||
| $ docker run --rm -t --platform linux/ppc64le ppc64le/busybox uname -m | ||||||
| ppc64le | ||||||
|
|
||||||
| $ docker run --rm -t i386/ubuntu uname -m | ||||||
| $ docker run --rm -t --platform linux/i386 i386/ubuntu uname -m | ||||||
| x86_64 | ||||||
| ``` | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work either:
After changing the
--platformto justarm64it "works" as intended:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.