Podman is an open-source, daemonless, and rootless container engine for developing, managing, and running OCI Containers on Linux, Windows and Mac. It can be used to support the container functionality and Dev Services on Quarkus.
Usefull Podman commands:
podman machine set --rootful=true
podman machine start
podman run -ti --rm --volume access-data:/var/lib/postgresql/data -e POSTGRES_DB=postDB -e POSTGRES_USER=postUser -e POSTGRES_PASSWORD=postPass -p 5432:5432 -d postgres
podman run -ti --rm -e PGADMIN_DEFAULT_EMAIL=admin@adminman.com -e PGADMIN_DEFAULT_PASSWORD=postPass -e PGADMIN_LISTEN_PORT=8080 -p 8081:8080 -d docker.io/dpage/pgadmin4
podman network inspect podman
Useful links:
Using Podman with Quarkus - Quarkus
10 Podman guides to do more with containers in 2022 | Enable Sysadmin (redhat.com)
How To Run PostgreSQL 16,15,14,13 in Podman Container - TechViewLeo
Run PostgreSQL with Podman as Docker Container | by PAWAN SHARMA | Medium
Run PostgreSQL + PGAdmin in pods using podman - DEV Community
Run a Spring Boot and Postgres Application on Podman (howtodoinjava.com)
Niciun comentariu:
Trimiteți un comentariu