Postgres Client Docker Image
This is a minimal Ubuntu 14.04 based progreSQL Client image.
This image can be used to connect to postgres databases using command line tools: psql, pg-dump etc which are pre-installed in this image.
Start the container (this will give you a bach shell from where you can run psql etc):
docker run -it --name pg-client yorkshirekev/pg-client
Once you exit from the container, re-connect using docker start docker attach:
docker start pg-client followed by docker attach pg-client
Note: You'll usually need to press enter a couple of times to see that you are in the container console.
Source-code for this image is on GitHub: https://github.com/YorkshireKev/docker-pg-client