Fix invalid command in README

"./" is not allowed inside docker volume name, use "pwd" instead
pull/315/head
Hsieh Chin Fan 2021-06-20 21:47:21 +08:00 zatwierdzone przez GitHub
rodzic f3aa83f23e
commit 14c8921c5d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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.