aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-09-01 04:51:09 +0800
committerGitHub <noreply@github.com>2016-09-01 04:51:09 +0800
commitcc6170d7fc885f61b998712425129022413438c7 (patch)
treebb5f13123c14c7766fc3d185241cb11707c36bbe
parent1f58b2d084b65eaec9aa2c2ecb1d3aae50d894b3 (diff)
parentb3d7a5c5d01096806d69bde22fa7e73fa97d5c27 (diff)
downloadgo-tangerine-cc6170d7fc885f61b998712425129022413438c7.tar
go-tangerine-cc6170d7fc885f61b998712425129022413438c7.tar.gz
go-tangerine-cc6170d7fc885f61b998712425129022413438c7.tar.bz2
go-tangerine-cc6170d7fc885f61b998712425129022413438c7.tar.lz
go-tangerine-cc6170d7fc885f61b998712425129022413438c7.tar.xz
go-tangerine-cc6170d7fc885f61b998712425129022413438c7.tar.zst
go-tangerine-cc6170d7fc885f61b998712425129022413438c7.zip
Merge pull request #2918 from hypergig/patch-2
Small docker run example for main README
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 94474dce3..e454a30af 100644
--- a/README.md
+++ b/README.md
@@ -113,6 +113,18 @@ always use separate accounts for play-money and real-money. Unless you manually
will by default correctly separate the two networks and will not make any accounts available between
them.*
+#### Docker quick start
+
+One of the quickest ways to get Ethereum up and running on your machine is by using Docker:
+
+```
+docker run -d --name ethereum-node -v /Users/alice/ethereum:/root \
+ -p 8545:8545 -p 30303:30303 \
+ ethereum/client-go --fast --cache=512
+```
+
+This will start geth in fast sync mode with a DB memory allowance of 512MB just as the above command does. It will also create a persistent volume in your home directory for saving your blockchain as well as map the default ports. There is also an `alpine` tag available for a slim version of the image.
+
### Programatically interfacing Geth nodes
As a developer, sooner rather than later you'll want to start interacting with Geth and the Ethereum