From 7fc8f3598b59963a1fc1854973b3dfc3f6cf3ee3 Mon Sep 17 00:00:00 2001 From: Fredrik Simonsson Date: Thu, 14 Mar 2024 10:27:27 +0900 Subject: [PATCH] Update path in doc for docker The docker example uses all necessary parameters. Is readable and runable at the same time. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2bdf2fc57f1..317f5d449f8 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,5 @@ cargo build --release -p nodle-parachain && polkadot-launch launch.json ## With docker 1. Build the image: `docker build -t nodle/chain -f ./Dockerfile .`. -2. Run it: `docker run -v /path/to/local/repertory:/data -p 9944:9944 -it nodle/chain --chain=eden-testing --base-path=/data`. - for instance as: - `docker run -v /mnt/d1/.local/share/nodle-parachain-2.2.2:/data -p 9944:9944 -p 9933:9933 -p30333:30333 -it nodle/chain --chain=eden-testing --base-path=/data --rpc-methods=safe --rpc-cors all --rpc-external -- --rpc-external` +2. Run it: + `docker run -v ~/.local/path_to_parachain_data_dir:/data -p 9944:9944 -p 9933:9933 -p30333:30333 -it nodle/chain --chain=eden-testing --base-path=/data --rpc-methods=safe --rpc-cors all --rpc-external -- --rpc-external`.