Skip to content

Instantly share code, notes, and snippets.

View DavidSolus's full-sized avatar
🎯
Focusing

David DavidSolus

🎯
Focusing
View GitHub Profile
@DavidSolus
DavidSolus / README.md
Last active February 28, 2022 00:05
Quickly setup Postgres database using Docker (Mac/Linux)

Simple tutorial on how to quickly setup a postgres database on a Mac using Terminal and Docker Desktop.

Creating the Docker container and image

Open terminal and run this command:

docker run --name postgres_image -e POSTGRES_PASSWORD=password -d postgres

Screen Shot 2021-12-26 at 11 18 10 PM