mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-07-21 12:30:58 +08:00
readme: specify image version in administrative login command
This commit is contained in:
@@ -81,7 +81,7 @@ The simplest way to login to the postgresql container as the administrative `pos
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm --volumes-from=postgresql \
|
docker run -it --rm --volumes-from=postgresql \
|
||||||
sameersbn/postgresql sudo -u postgres -H psql
|
sameersbn/postgresql:9.1-1 sudo -u postgres -H psql
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternately you can fetch the password set for the `postgres` user from the container logs.
|
Alternately you can fetch the password set for the `postgres` user from the container logs.
|
||||||
|
|||||||
Reference in New Issue
Block a user