Skip to content

Commit

Permalink
Add --rm to docker run in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jann0k committed Sep 18, 2024
1 parent 86aca0d commit 075aa24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions postgres.README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ docker run --rm --link cdoc2-psql \
or use standard liquibase command options:

```
docker run --link cdoc2-psql \
docker run --rm --link cdoc2-psql \
ghcr.io/jann0k/cdoc2-server-liquibase:v1.4.0-liquibase.4-2bf479fd63cdf4c7277fcbef799e3da801cf741f \
--url jdbc:postgresql://cdoc2-psql/cdoc2 \
--username=postgres \
Expand All @@ -35,6 +35,7 @@ ghcr.io/jann0k/cdoc2-server-liquibase:v1.4.0-liquibase.4-2bf479fd63cdf4c7277fcbe
update
```

Can also be used to update DB running in other host by changing `--url`, `--username` and `--password` parameters.
Can also be used to update DB running in other host by changing `--url`, `--username` and `--password` parameters.
Then `--link` is not required.

More info https://hub.docker.com/r/liquibase/liquibase

0 comments on commit 075aa24

Please sign in to comment.