diff options
author | Irina Truong <i.chernyavska@gmail.com> | 2017-04-28 16:26:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 16:26:20 -0700 |
commit | 2c89329b93fe02f94b9bb8a6c39c1d8243a6a9a0 (patch) | |
tree | 864b40753b368185d1eabdfee0f0831501b07b95 | |
parent | 7eef21e3d371bd2a87bcd8a170e162991fa9cef1 (diff) | |
parent | 94d8091bac532567fbc285acb0e7b712e64d8661 (diff) |
Merge pull request #696 from hraban/readme-fix
Fix readme monospace syntax
-rw-r--r-- | README.rst | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -189,11 +189,13 @@ installing it, or any dependencies, system-wide. To build the image: :: + $ docker build -t pgcli . To create a container from the image: :: + $ docker run --rm -ti pgcli pgcli <ARGS> To access postgresql databases listening on localhost, make sure to run the @@ -201,12 +203,14 @@ docker in "host net mode". E.g. to access a database called "foo" on the postgresql server running on localhost:5432 (the standard port): :: + $ docker run --rm -ti --net host pgcli pgcli -h localhost foo To connect to a locally running instance over a unix socket, bind the socket to the docker container: :: + $ docker run --rm -ti -v /var/run/postgres:/var/run/postgres pgcli pgcli foo Thanks: |