Skip to content

Commit

Permalink
other: Add instructions on how to run docker image on M chips
Browse files Browse the repository at this point in the history
  • Loading branch information
lubej committed Apr 13, 2024
1 parent e2efcc7 commit b32f9bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/emerald-localnet #
docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/sapphire-localnet # Sapphire
```

### Mac M Chips exception

There is currently no arm64 build available for M Macs, so make sure to force the docker image to use _linux/x86_64_,
like this:

```sh
docker run -it -p8545:8545 -p8546:8546 --platform linux/x86_64 ghcr.io/oasisprotocol/emerald-localnet # Emerald
docker run -it -p8545:8545 -p8546:8546 --platform linux/x86_64 ghcr.io/oasisprotocol/sapphire-localnet # Sapphire
```
## Build image locally

To build the docker image, go to your `oasis-web3-gateway` repository root
Expand Down

0 comments on commit b32f9bc

Please sign in to comment.