From ac9dc2c511e59afc1d30549258de1ec84604ac95 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Mon, 22 Nov 2021 17:58:00 +0800 Subject: [PATCH] docker example updated --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ba687b3..c7ae3c6 100644 --- a/README.md +++ b/README.md @@ -166,22 +166,16 @@ To run it, mount the monero blockchain onto the container as volume. ``` # either run in foreground -docker run -it \ - -v xmrdata:/home/monero/.bitmonero \ - -p 8081:8081 \ - xmrblocks +docker run -it -v :/home/monero/.bitmonero -p 8081:8081 xmrblocks # or in background -docker run -it -d \ - -v xmrdata:/home/monero/.bitmonero \ - -p 8081:8081 \ - xmrblocks +docker run -it -d -v :/home/monero/.bitmonero -p 8081:8081 xmrblocks ``` Example output: ``` -[ec2-user@ip-10-0-0-1 ~]$ docker run --rm -it -v xmrdata:/home/monero/.bitmonero xmrblocks +docker run --rm -it -v /mnt/w7/bitmonero:/home/monero/.bitmonero xmrblocks Staring in non-ssl mode (2020-04-20 16:20:00) [INFO ] Crow/0.1 server is running at 0.0.0.0:8081 using 1 threads ```