Grant Fritchey spins up a container:
The goal of this guide is simple: get PostgreSQL up and running in the fastest, easiest way. You’ll then learn how to create databases in PostgreSQL and the objects that live within them.
The two easiest ways to get started working in PostgreSQL are to either use containers, or create an account with a cloud provider. In this case, we’ll be using containers.
This post covers a lot of the basics of pulling a Docker container image and how you interact with that running Postgres container.