From a0cccb0f5f20b305aaca9509af9d0aa414fd6e21 Mon Sep 17 00:00:00 2001 From: patridunk <78499649+patridunk@users.noreply.github.com> Date: Mon, 15 Dec 2025 18:29:15 +0100 Subject: [PATCH] Add documentation for private geth network with Docker This document provides a minimal example of running a single-node private geth network using Docker, including a sample docker-compose.yml configuration. Added `PRIVATE_NET_DOCKER.md` document with a minimal `docker-compose` example for running a geth private network. --- docs/PRIVATE_NET_DOCKER.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/PRIVATE_NET_DOCKER.md diff --git a/docs/PRIVATE_NET_DOCKER.md b/docs/PRIVATE_NET_DOCKER.md new file mode 100644 index 0000000000..d6ee17d0ff --- /dev/null +++ b/docs/PRIVATE_NET_DOCKER.md @@ -0,0 +1,29 @@ +# Running a simple private geth network with Docker + +This document shows a minimal example of running a single-node private +geth network using Docker. It is intended for local experiments and +should not be used as-is in production. + +## Example `docker-compose.yml` + +```yaml +version: "3.8" + +services: + geth: + image: ethereum/client-go:stable + container_name: geth-private + command: + [ + "--http", + "--http.addr=0.0.0.0", + "--http.api=eth,net,web3,personal", + "--dev", + "--dev.period=0", + "--verbosity=3" + ] + ports: + - "8545:8545" + - "30303:30303" + volumes: + - ./data:/root/.ethereum