Skip to content

Commit

Permalink
Merge pull request #281 from matsduf/update-using-docker
Browse files Browse the repository at this point in the history
Add Mac note on USING.md when it comes to Docker
  • Loading branch information
matsduf authored Aug 1, 2022
2 parents 9e45453 + f2f1a69 commit 3a265a4
Showing 1 changed file with 22 additions and 0 deletions.
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

0 comments on commit 3a265a4

Please sign in to comment.