pgxman has container support in order to facilitate testing on any operating system.
pgxman container
is aliased to pgxman c
pgxman install
to pgxman container install
. Native MacOS homebrew support is planned for a future release.--pg
flag to pgxman container install
.432
to form the port number:
pgxman
. Combine these to connect to the database. You can use
any Postgres client, like psql
or your favorite GUI client.
psql
from inside the container:
pgxman_runner_PGVERSION
, refered to as NAME below:
docker stop NAME
docker stop pgxman_runner_15
docker start NAME
docker start pgxman_runner_15
docker ps | grep pgxman
.pgxman_runner_15_pg_data
.
To see the volumes, run docker volume ls | grep pgxman
.
USER_CONFIG_DIR/pgxman/runner/PG_VERSION
.
USER_CONFIG_DIR
is ~/.config/pgxman
USER_CONFIG_DIR
is ~/Library/Application Support/pgxman
pgxman c install
updates the pgxman pack file, rebuilds the image, and restarts the container.