From 4453124ffad4511c51d17104e4346fd0330c5103 Mon Sep 17 00:00:00 2001 From: Nuriel Shem-Tov <nurielst@hotmail.com> Date: Thu, 8 Aug 2019 17:38:31 +0200 Subject: [PATCH] Improve README about docker command --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 026e1ee0..32af7dfd 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ docker build -t iotaledger/goshimmer . ``` and then run it with ``` -docker run --rm -it -v target/mainnetdb:/root/mainnetdb iotaledger/goshimmer +docker run --rm -it -v "$(pwd)/mainnetdb:/app/mainnetdb" iotaledger/goshimmer ``` -You may replace `target/mainnetdb` with a custom path to the database folder. +You may replace `$(pwd)/mainnetdb` with a custom path to the database folder. To start Shimmer in the background, you can also simply use [Docker Compose](https://docs.docker.com/compose/) by running ``` -- GitLab