skip to content
The Way Software Development, LLC logoWay Software

Shell into Containerized PostgreSQL Database

Published / 1 min read

last updated:

Shell into the running container:

docker exec -it <container-id> /bin/bash

Run psql to connect to the database:

psql -d <db-name> -U <user>