https://github.com/manigandand/docker-postgresql-client-9.6
Postgresql-client-9.6 Docker Image
https://github.com/manigandand/docker-postgresql-client-9.6
docker postgresql
Last synced: about 1 year ago
JSON representation
Postgresql-client-9.6 Docker Image
- Host: GitHub
- URL: https://github.com/manigandand/docker-postgresql-client-9.6
- Owner: manigandand
- License: unlicense
- Created: 2017-09-29T10:08:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T11:58:23.000Z (over 6 years ago)
- Last Synced: 2025-04-30T17:04:35.338Z (about 1 year ago)
- Topics: docker, postgresql
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# docker-postgresql-client-9.6
Postgresql-client-9.6 Docker Image
This is a minimal Ubuntu 16.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.
You don't need to build this image yourself, you can pull a pre-built image from docker hub by typing:
> docker pull manigandanjeff/docker-postgresql-client-9.6
Start the container (this will give you a bash shell from where you can run psql etc):
> docker run -it --name pg-client manigandanjeff/docker-postgresql-client-9.6
Once you exit from the container, re-connect using docker start docker attach:
> docker start pg-client
followed by
> docker attach pg-client