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

Update docs to extend docker section #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions book/src/docker.md
Original file line number Diff line number Diff line change
@@ -17,3 +17,9 @@ $ docker run lighthouse lighthouse --help

_Note: the first `lighthouse` is the name of the tag we created earlier. The
second `lighthouse` refers to the binary installed in the image._

To start a beacon node with a persistent data directory and access to the JSON-RPC API on the host at port 5052 run the image with:

```bash
$ docker run --name=lighthouse -v $HOME/lighthouse-data:/root/.lighthouse -p 127.0.0.1:5052:5052 lighthouse lighthouse beacon_node --http-address=0.0.0.0 --http-port=5052 --http
```