From 14c8921c5d6eea71625ae2369ecb0e4bdf710c01 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 20 Jun 2021 21:47:21 +0800 Subject: [PATCH] Fix invalid command in README "./" is not allowed inside docker volume name, use "pwd" instead --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ef6afc..8657336 100644 --- a/README.md +++ b/README.md @@ -359,7 +359,7 @@ container startup. Provide `IGNORE_INIT_HOOK_LOCKFILE=true` to execute the scrip Currently, you can pass `.sql`, `.sql.gz` and `.sh` files as mounted volumes. ```shell -docker run -d -v ./setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql kartoza/postgis +docker run -d -v `pwd`/setup-db.sql:/docker-entrypoint-initdb.d/setup-db.sql kartoza/postgis ``` ## Storing data on the host rather than the container.