Run update.sh

This commit is contained in:
Docker Library Bot 2016-05-20 16:30:54 -07:00
parent 10a7c51a75
commit 9345a8bed5
1 changed files with 10 additions and 1 deletions

View File

@ -45,7 +45,16 @@ $ docker run --name some-app --link some-postgres:postgres -d application-that-u
## ... or via `psql`
```console
$ docker run -it --link some-postgres:postgres --rm postgres sh -c 'exec psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U postgres'
$ docker run -it --rm --link some-postgres:postgres postgres psql -h postgres -U postgres
psql (9.5.0)
Type "help" for help.
postgres=# SELECT 1;
?column?
----------
1
(1 row)
```
## Environment Variables