Sign inSign up

yorkshirekev/pg-client

By yorkshirekev

•Updated almost 11 years ago

Image
0

2.0K

yorkshirekev/pg-client repository overview

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⁠

Tag summary

Content type

Image

Digest

sha256:6635cdc57…

Size

110.3 MB

Last updated

almost 11 years ago

docker pull yorkshirekev/pg-client