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

Clean up Docker instructions #57

Merged
merged 9 commits into from
Aug 2, 2023
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Local Celestia Devnet

This repo provides a docker image that allows developers to spin up a local
This repo provides a Docker image that allows developers to spin up a local
devnet node for testing without depending on the network or service.

## To run the docker image from ghcr.io
## To run the Docker image from ghcr.io

```bash
docker run --platform linux/amd64 -p 26657:26657 -p 26659:26659 ghcr.io/rollkit/local-celestia-devnet:v0.8.2
Docker run --platform linux/amd64 \
jcstein marked this conversation as resolved.
Show resolved Hide resolved
-p 26657:26657 -p 26658:26658 -p 26659:26659 -p 9090:9090 \
ghcr.io/rollkit/local-celestia-devnet:latest
```

## To build and run the docker image
## To build and run the Docker image

First, clone the repository:

Expand All @@ -23,16 +25,18 @@ Change into the directory:
cd local-celestia-devnet/
```

To build the docker image:
To build the Docker image:

```bash
docker build . -t celestia-local-devnet
Docker build . -t celestia-local-devnet
jcstein marked this conversation as resolved.
Show resolved Hide resolved
jcstein marked this conversation as resolved.
Show resolved Hide resolved
```

To run the docker container:
To run the Docker container:

```bash
docker run --platform linux/amd64 -p 26657:26657 -p 26659:26659 celestia-local-devnet
Docker run --platform linux/amd64 \
jcstein marked this conversation as resolved.
Show resolved Hide resolved
-p 26657:26657 -p 26658:26658 -p 26659:26659 -p 9090:9090 \
celestia-local-devnet
```

Test that the RPC server is up:
Expand Down