sirsplat/postgresql
This is a simple container built from PostgreSQL 17-alpine and a dbo role (not a superuser) created.
284
This is a simple container built from PostgreSQL 17-alpine and a dbo role (not a superuser) created.
I have only used PostgreSQL because it is my RDBMS of choice! That and it's "The World's Most Advanced Open Source Relational Database", go take a gander at PostgreSQL Documentation if you do not believe me :)
Well, because I wanted standardized images that do not use a superuser (postgres by default), for executing application database migrations that I could use for all my other projects.
So use it or don't! In any event, have fun, be safe and ofc "Do not run sh%& as root! :)"
latest | dbo | pgtap | pgcrypto | |
---|---|---|---|---|
dbo | ✔️ | ✔️ | ✔️ | ✔️ |
pgtap | ✔️ | ✔️ | ||
pgcrypto | ✔️ | ✔️ |
docker run --name some-name -e POSTGRES_PASSWORD=mysecretpassword sirsplat/postgresql -d postgres
Now you'll have a running container named some-name, accessable via CMD
docker exec -it some-name psql -U dbo -h localhost -p 5432 -d postgres
docker pull sirsplat/postgresql