Public | Automated Build

Last pushed: 2 years ago
Short Description
pgcli in a tiny Docker image powered by Alpine Linux
Full Description

pgcli-docker

pgcli in a tiny Docker image powered by Alpine Linux

How to use this image

Print help:

docker run --rm diyan/pgcli --help

Run PostgreSQL server if you don't have it:

docker run -d --name=postgres \
  -p 5432:5432 \
  -e POSTGRES_PASSWORD=secret \
  postgres:9.5

Run pgcli:

docker run --rm -ti --name=pgcli \
  -e PGPASSWORD=secret \
  --link=postgres:postgres \
  diyan/pgcli \
  --host=postgres \
  --dbname=postgres \
  --user=postgres
Docker Pull Command
Owner
diyan
Source Repository