Dockerfile linkslatest, stable (stable/Dockerfile) the latest pgcli releaseedge (edge/Dockerfile) pgcli Github master (manually synced at this point)Just Alpine Linux, pgcli and tini. Why tini too? see: https://hub.docker.com/r/pygmy/alpine-tini/
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.
pgcli is an alternative and arguably better cli client for PostgreSQL intended as a psql replacement
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)
Content type
Image
Digest
Size
24.8 MB
Last updated
over 7 years ago
docker pull pygmy/pgcli