mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-05-13 18:33:34 +00:00
Use postgres instead of postgresql for the image name to align with the Docker official library upstream. Signed-off-by: George T Kramer <george.t.kramer@intel.com>
768 B
768 B
PostgreSQL
This provides a Clear Linux* PostgreSQL instance.
Build
docker build -t clearlinux/postgres .
Or just pull it from Dockerhub
docker pull clearlinux/postgres
Start PostgreSQL Container
docker run -p 5432:5432 -e POSTGRES_PASSWORD=secret -d clearlinux/postgres
Environment Variables
- See
Environment Variablessection of the official postgres image page.
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg