added podman info to postgres

This commit is contained in:
2026-03-15 21:22:50 -05:00
parent 1e17d9889c
commit e185424eb5

View File

@@ -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` 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 ## Setup
First make sure postgres is running: First make sure postgres is running:
```sh ```sh