Run PostgreSQL in Podman Container

Published: 10 March 2022
on channel: Quick Notepad Tutorial
3,460
24

in This Tutorial you will Learn " How To Run PostgreSQL in Podman Container "

PostgreSQL is an advanced, enterprise-class, and open-source relational database system.
Podman is an OCI-compliant container runtime that works without a daemon.

cat /etc/system-release ; sestatus ; dnf groupinstall "Development Tools" -y
dnf install podman -y
podman pod create --name postgre-sql -p 9876:80
podman pod ps

podman run --pod postgre-sql \
-e '[email protected]' \
-e 'PGADMIN_DEFAULT_PASSWORD=Passw0rd' \
--name pgadmin \
-d docker.io/dpage/pgadmin4:latest

podman pull docker.io/library/postgres:14
podman images
podman run --name db --pod=postgre-sql -d \
-e POSTGRES_USER=admin \
-e POSTGRES_PASSWORD=Passw0rd \
docker.io/library/postgres:14

podman pod ps
podman pod stats postgre-sql
http://127.0.0.1:9876


Watch video Run PostgreSQL in Podman Container online, duration hours minute second in high quality that is uploaded to the channel Quick Notepad Tutorial 10 March 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,460 times and liked it 24 visitors.