podman pull postgres:latest
podman run -d --name postgres \
-e POSTGRES_USER=support \
-e POSTGRES_PASSWORD=strongPassword123 \
-e POSTGRES_DB=support \
-e PGUSER=support \
-p 5432:5432 \
--health-cmd 'pg_isready -d db_prod' \
--health-interval 30s \
--health-timeout 10s \
--health-retries 5 \
--health-start-period 80s \
postgres:latest
podman exec -it postgres bash
Username: support
Password: strongPassword123
DB: support
podman stop postgres
podman rm postgres
https://dockr.ly/3borF7q
sudo yum install postgresql-odbc
[postgres]
Description = PostgreSQL ODBC connection
Driver = /usr/lib64/psqlodbcw.so
Database = support
Servername = 127.0.0.1
UserName = support
Password = mysecretpassword
Port = 5432
[PostgreSQL ANSI]
Description=PostgreSQL ODBC driver (ANSI version)
Driver=psqlodbca.so
Setup=libodbcpsqlS.so
[PostgreSQL Unicode]
Description=PostgreSQL ODBC driver (Unicode version)
Driver=psqlodbcw.so
Setup=libodbcpsqlS.so