YorkshireKev / docker-postgres

Simple docker progress image intended to be used on a server, rather than a desktop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postgres Docker Image

This is a minimal Alpine Linux (3.15) based progreSQL image. Unlike the official postgreSQL image, this one does not grant trust privileges to everyone.

You don't need to build this image yourself, you can pull a pre-built image from docker hub by typing: docker pull yorkshirekev/postgres:14

https://hub.docker.com/r/yorkshirekev/postgres/

You will need to exec into the running contaner and create databases, password authenticated users etc: docker exec -it postgres psql postgres (where the first postgres in the command is the container name).

Connect as a regular user: psql --host=localhost --user=myuser mydatabase

About

Simple docker progress image intended to be used on a server, rather than a desktop.

License:MIT License


Languages

Language:Dockerfile 66.7%Language:Shell 33.3%