Step by step guide to setup PostgreSQL on Docker


Introduction

PostgreSQL is a powerful open-source relational database management system with robust features for handling large datasets and supporting complex queries. While there are many ways you can install the PostgreSQL database on your laptop directly or using a VM(Virtual machine). However dedicated resources to a VM or server can often slow down your computer. I find it convenient to use Docker, as it gives me the flexibility to quickly start and stop while reducing the load on my computer. This is very helpful when you trying to practice & learn Postgresql. How ever numerous developers use docker for development.