Skip to content

Commit ceada69

Browse files
committed
DockerHub template examples get --platform
As there are only linux/amd64 images up for each language, the dockerhub instructions don't work out-of-the-box on Mac machines -- but with the --platform="linux/amd64" parameter, they will!
1 parent f879889 commit ceada69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/bin/overview-template.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Check it out on Github! **[100hellos/${lang}](https://github.com/frison/100hello
44

55
## Trying it
66

7-
`docker run --rm 100hellos/${lang}:latest`
7+
`docker run --rm --platform="linux/amd64" 100hellos/${lang}:latest`
88

99
## Modifying it
1010

@@ -13,7 +13,7 @@ Check it out on Github! **[100hellos/${lang}](https://github.com/frison/100hello
1313
**or**
1414

1515
```
16-
docker run --rm --entrypoint="" -it 100hellos/${lang}:latest zsh
16+
docker run --rm --platform="linux/amd64" --entrypoint="" -it 100hellos/${lang}:latest zsh
1717
```
1818

1919
Check out the `/entrypoint.sh` file on the image to see how it works.

0 commit comments

Comments
 (0)