Learn some useful tricks for working with PostgreSQL in Docker containers, including how to log into PSQL, run commands against a database, backup data, execute SQL files, and prepopulate a database on startup.
Table of contents
Log Into PSQLRunning Command Against DatabaseBacking up Your DataExecute whole SQL filesPrepopulating Database on the StartWhat About docker-compose ?ConclusionSort: