Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 647 Bytes

File metadata and controls

28 lines (21 loc) · 647 Bytes

Docker Container With pgCLI

pgCLI is a command line interface for Postgres with auto-completion and syntax highlighting.

I liked the tool but wanted to put it in a container so i did not have to bother installing it and keeping my machine up to date with the latest version.

Check out their website for further details https://www.pgcli.com/

Build

docker build -t mattdevdba/pgcli .

Run

docker run -it mattdevdba/pgcli /bin/bash
pgcli [OPTIONS]

Run Example

docker run -it mattdevdba/pgcli /bin/bash
pgcli -h localhost -u postgres

Docker Hub

https://hub.docker.com/r/mattdevdba/docker-pgcli