Simple helper container for PostgreSQL management. Includes postgresql-client and curl.
4.2K
Simple helper container for PostgreSQL management.
Includes postgresql-client and curl to allow simple and effective database maintenance activities to be automated/containerized.
docker pull csrakowski/postgres-cli:latest
The default command is set to open the shell, so if you want an interactive session for manual work you can just run it.
docker run -it --rm csrakowski/postgres-cli:latest
You can also override the command by passing in extra arguments as normal, and use it run pg_dump for example.
This also works great in Kubernetes CronJobs.
docker run -it --rm csrakowski/postgres-cli:latest pg_dump -h <Hostname> -p <PORT> -U <USER> > dump.sql
Content type
Image
Digest
sha256:bc32247f6…
Size
11.3 MB
Last updated
7 days ago
docker pull csrakowski/postgres-cli