diff --git a/book/src/docker.md b/book/src/docker.md index 96be643fa..b4159c17e 100644 --- a/book/src/docker.md +++ b/book/src/docker.md @@ -49,7 +49,7 @@ $ docker run lighthouse:local lighthouse --help You can run a Docker beacon node with the following command: ```bash -$ docker run -p 9000:9000 -p 5052:5052 -v $HOME/.lighthouse:/root/.lighthouse sigp/lighthouse lighthouse beacon --http +$ docker run -p 9000:9000 -p 127.0.0.1:5052:5052 -v $HOME/.lighthouse:/root/.lighthouse sigp/lighthouse lighthouse beacon --http --http-address 0.0.0.0 ``` > The `-p` and `-v` and values are described below. @@ -78,8 +78,8 @@ $ docker run -p 9000:9000 sigp/lighthouse lighthouse beacon ``` If you use the `--http` flag you may also want to expose the HTTP port with `-p -5052:5052`. +127.0.0.1:5052:5052`. ```bash -$ docker run -p 9000:9000 -p 5052:5052 sigp/lighthouse lighthouse beacon --http +$ docker run -p 9000:9000 -p 127.0.0.1:5052:5052 sigp/lighthouse lighthouse beacon --http --http-address 0.0.0.0 ```