Skip to content

Commit 4bf5a80

Browse files
lukaw3dlukaw3d
authored andcommitted
other: Update docker instructions to expose Nexus and Explorer ports
1 parent efe7d1a commit 4bf5a80

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ images. `latest` versions are based on:
2020
To use the precompiled images, run:
2121

2222
```sh
23-
docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/sapphire-localnet # Sapphire
24-
docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/emerald-localnet # Emerald
23+
docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/sapphire-localnet # Sapphire
24+
docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/emerald-localnet # Emerald
2525
```
2626

2727
### Mac M Chips
@@ -30,8 +30,8 @@ There is currently no arm64 build available for M Macs, so make sure to force th
3030
like this:
3131

3232
```sh
33-
docker run -it -p8545:8545 -p8546:8546 --platform linux/x86_64 ghcr.io/oasisprotocol/sapphire-localnet # Sapphire
34-
docker run -it -p8545:8545 -p8546:8546 --platform linux/x86_64 ghcr.io/oasisprotocol/emerald-localnet # Emerald
33+
docker run -it -p8544-8548:8544-8548 --platform linux/x86_64 ghcr.io/oasisprotocol/sapphire-localnet # Sapphire
34+
docker run -it -p8544-8548:8544-8548 --platform linux/x86_64 ghcr.io/oasisprotocol/emerald-localnet # Emerald
3535
```
3636
## Build image locally
3737

@@ -45,8 +45,8 @@ make docker
4545
To run the compiled image type:
4646

4747
```sh
48-
docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/sapphire-localnet:local
49-
docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/emerald-localnet:local
48+
docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/sapphire-localnet:local
49+
docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/emerald-localnet:local
5050
```
5151

5252
## Usage

0 commit comments

Comments
 (0)