How to dockerize a postgres SQL database

Uncategorizedback end developmentdatabasedockergojavapostgressoftware developmentsqltop stack

In this article, we will walk through how to dockerize a postgres database. If you are unfamiliar with docker, see this quick start. We will work off an existing postgres database installed locally. First let’s connect to our local database and create a dump.sql back up of the database using pg_dump with the following format: