Running pgcli in a Docker container.
The Docker image is available ob Docker Hub: https://hub.docker.com/r/ai2ys/dockerized-pgcli
Using docker run
:
$ docker run -it --rm ai2ys/dockerized-pgcli
d80a5922776a:/#
Using docker compose
with the docker-compose.yml file:
$ docker compose run --rm pgcli
pgcli:/#
A bash
gets started and pgcli
can get used from there.