From b39d8f7851450f342cf88045c590304d06121c27 Mon Sep 17 00:00:00 2001 From: Bruce Kim Date: Mon, 20 May 2019 10:31:02 +0900 Subject: [PATCH] wrong argument for '-v' option '-v' option does 'bind mount a volume', not bind file to file. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 684bd68..5f6c87a 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Further runs will be immediate, as the image will be cached locally. The recommended way to run this container looks like this: ```bash -$ docker run -d -p 80:80 -v /home/user/articles.json:/data/db.json clue/json-server +$ docker run -d -p 80:80 -v /home/user:/data clue/json-server ``` The above example exposes the JSON Server REST API on port 80, so that you can now browse to: