From 64679a74c5702bc8476386401f20c422836d3264 Mon Sep 17 00:00:00 2001 From: lightclient <14004106+lightclient@users.noreply.github.com> Date: Wed, 20 Aug 2025 14:33:04 -0600 Subject: [PATCH] website: use .ethereum directory for docker mapping --- docs/getting-started/installing-geth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/installing-geth.md b/docs/getting-started/installing-geth.md index e4a1c471c1..850ae159f2 100644 --- a/docs/getting-started/installing-geth.md +++ b/docs/getting-started/installing-geth.md @@ -206,7 +206,7 @@ The image has the following ports automatically exposed: **Note:** if you are running an Ethereum client inside a Docker container, you should mount a data volume as the client's data directory (located at `/root/.ethereum` inside the container) to ensure that downloaded data is preserved between restarts and/or container life-cycles. ```sh -docker run -v $HOME/.geth:/root/.ethereum -it -p 30303:30303 ethereum/client-go +docker run -v $HOME/.ethereum:/root/.ethereum -it -p 30303:30303 ethereum/client-go ``` Updating Geth to the latest version simply requires stopping the container, pulling the latest version from Docker and running it: