A postgresql-client docker image for k8s deployment.
docker run --rm -it --name postgresql-client andreswebs/postgresql-client -h <host_ip_address> -p <port> -U <user> -W
To get a shell inside the running container:
docker exec -it postgresql-client /bin/sh
You need a working k8s cluster and kubectl configured.
kubectl apply -f postgresql-client.yml
kubectl attach --namespace=postgresql-client -ti postgresql-client
psql -h <host_ip_address> -p <port> -U <user> -W
Andre Silva
This project is licensed under the Unlicense.
Content type
Image
Digest
sha256:fa85f600a…
Size
5.3 MB
Last updated
over 2 years ago
docker pull andreswebs/postgresql-client