Public | Automated Build

Last pushed: an hour ago
Short Description
Alpine Linux + pgcli in a tiny ~25MB image
Full Description

Supported tags and respective Dockerfile links

What's in this image?

Just Alpine Linux, pgcli and tini. Why tini too? see:

What is Alpine Linux?

Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with Docker images.

What is pgcli

pgcli is an alternative and arguably better cli client for PostgreSQL intended as a psql replacement

How to use

docker run -it --rm --link my-postgres-container:postgres postgresql://USER:PASSWORD@HOST:PORT/DATABASE pygmy/pgcli

or if you're using the official PostgreSQL docker image simply
docker run -it --rm --link my-postgres-container:postgres pygmy/pgcli - it will pick up the variables you've set for your container (host, port, user, password)

Docker Pull Command
Source Repository