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

Add Mac note on USING.md when it comes to Docker #281

Merged
merged 1 commit into from
Aug 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions USING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* [Test reports](#Test-reports)
* [Translation]
* [Advanced use](#Advanced-use)
* [Docker on Mac with M1 chip](#Docker-on-Mac-with-M1-chip)


## Docker or local installation
Expand Down Expand Up @@ -256,6 +257,27 @@ record, but keep the NS records from the parent by only specifying the
DS record and no NS records on the command line.


## Docker on Mac with M1 chip

If you run the Docker commands above on a Mac computer with the M1 chip, then you
will get the following warning:

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

The warning says that the image is created for Intel/AMD64 architecture, and that
is not what your computer has. To get rid of the warning, add
`--platform linux/amd64` to `docker run`, e.g.

```sh
docker run --platform linux/amd64 -t --rm zonemaster/cli zonemaster.net --no-ipv6
```

If you search for the error messages you will get suggestions for how to
automatically include the `--platform linux/amd64` option every time you run
`docker run`.


[Connectivity03]: https://github.com/zonemaster/zonemaster/blob/master/docs/specifications/tests/Connectivity-TP/connectivity03.md
[Get started]: https://www.docker.com/get-started
[Installation instruction]: docs/Installation.md
Expand Down