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.
_________________________________________________________________________________________
Server - Os: Rocky Linux 8.5 64Bit | IP -192.168.1.20 | Hostname - www.primaryhost.com
_________________________________________________________________________________________
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 'PGADMIN_DEFAULT_EMAIL=admin@example.com' \
-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
_________________________________________________________________________________________
Saturday, March 5, 2022
Run PostgreSQL in Podman Container
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment