You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,11 @@ Dockerized version of the [pgcli](http://pgcli.com/) tool for postgres.
5
5
6
6
1. Pull the docker image: `docker pull dencold/pgcli`
7
7
2. Run the container: `docker run -it --rm dencold/pgcli DB_URL`
8
-
3. Or, if you already have a postgres container, you can just do this:
9
-
```docker run -it --link my-postgres:postgres --rm dencold/pgcli```
8
+
3. Or, if you already have a postgres container, you can just do this: `docker run -it --link my-postgres:postgres --rm dencold/pgcli`
10
9
11
10
Note that *DB_URL* is in the format of:
12
11
13
-
```postgresql://user:password@host:port/dbname```
12
+
`postgresql://user:password@host:port/dbname`
14
13
15
14
For more information on database connection strings, see the [postgres documentation](http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING).
0 commit comments