mirror of
https://github.com/clearlinux/docs.git
synced 2026-07-11 15:07:27 +00:00
Run update.sh
This commit is contained in:
+10
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user