kopia lustrzana https://github.com/kartoza/docker-postgis
Fix invalid command in README
"./" is not allowed inside docker volume name, use "pwd" insteadpull/315/head
rodzic
f3aa83f23e
commit
14c8921c5d
|
@ -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.
|
Currently, you can pass `.sql`, `.sql.gz` and `.sh` files as mounted volumes.
|
||||||
|
|
||||||
```shell
|
```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.
|
## Storing data on the host rather than the container.
|
||||||
|
|
Ładowanie…
Reference in New Issue