From e65d98925b11ca5b5b6c8b542289d935a424d41c Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Mon, 20 Jan 2020 21:30:40 +0100 Subject: [PATCH] Updaes README.md expose docker port 13000 (#4596) Port 13000 also needs to be exposed if to improve connectivity and receive more peers, refs #4323. Also updates the "Docker on Windows" instructions for consistency. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a8c92ac8..ccaa96f2d 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Below are instructions for initialising a beacon node and connecting to the publ To start your beacon node, issue the following command: ```text -docker run -it -v $HOME/prysm:/data -p 4000:4000 --name beacon-node \ +docker run -it -v $HOME/prysm:/data -p 4000:4000 -p 13000:13000 --name beacon-node \ gcr.io/prysmaticlabs/prysm/beacon-chain:latest \ --datadir=/data ``` @@ -130,7 +130,7 @@ docker rm beacon-node To recreate a deleted container and refresh the chain database, issue the start command with an additional `--clear-db` parameter: ```text -docker run -it -v $HOME/prysm:/data -p 4000:4000 --name beacon-node \ +docker run -it -v $HOME/prysm:/data -p 4000:4000 -p 13000:13000 --name beacon-node \ gcr.io/prysmaticlabs/prysm/beacon-chain:latest \ --datadir=/data \ --clear-db @@ -148,7 +148,7 @@ docker run -it -v $HOME/prysm:/data -p 4000:4000 --name beacon-node \ 3. To run the beacon node, issue the following command: ```text -docker run -it -v c:/prysm/:/data -p 4000:4000 gcr.io/prysmaticlabs/prysm/beacon-chain:latest --datadir=/data --clear-db +docker run -it -v c:/prysm/:/data -p 4000:4000 -p 13000:13000 --name beacon-node gcr.io/prysmaticlabs/prysm/beacon-chain:latest --datadir=/data --clear-db ``` ### Running via Bazel