From e185424eb5602eb89e9889cc66da8e0988ffa95e Mon Sep 17 00:00:00 2001 From: Aiden Gerbrandt Date: Sun, 15 Mar 2026 21:22:50 -0500 Subject: [PATCH] added podman info to postgres --- Software/Postgresql.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Software/Postgresql.md b/Software/Postgresql.md index a1276b4..8eeff57 100644 --- a/Software/Postgresql.md +++ b/Software/Postgresql.md @@ -47,6 +47,20 @@ host all all ::1/128 ident Make sure the last item on each line (in this case `ident`) is changed to `md5`. Then restarted the database `sudo systemctl restart postgresql.service` +### Podman (Universal) +Podman is a container system very similar to docker that lets you run programs in an isolated and self-contained environment. + +First install [Podman](../Tools/Podman.md) on your computer. + +The container image will automatically be downloaded when you run postgres database with: +```sh +podman run -d --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword docker.io/library/postgres:latest +``` + +Checkout the [Podman document](../Tools/Podman.md) to learn how to manage containers. + +**Note:** You can skip the Setup stage below, it is already setup inside the container + ## Setup First make sure postgres is running: ```sh