Skip to content
Snippets Groups Projects
Commit 4453124f authored by Nuriel Shem-Tov's avatar Nuriel Shem-Tov
Browse files

Improve README about docker command

parent 588e0fff
Branches
Tags
No related merge requests found
...@@ -61,9 +61,9 @@ docker build -t iotaledger/goshimmer . ...@@ -61,9 +61,9 @@ docker build -t iotaledger/goshimmer .
``` ```
and then run it with 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 To start Shimmer in the background, you can also simply use [Docker Compose](https://docs.docker.com/compose/) by running
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment