mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-10-17 18:02:38 +00:00
This link should be more stable and always provide the latest information about swupd command-line options. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
32 lines
774 B
Markdown
32 lines
774 B
Markdown
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 Variables`` section of the official postgres image [page](https://hub.docker.com/_/postgres).
|
|
|
|
Extra Build ARGs
|
|
----------------
|
|
- ``swupd_args`` Specifies [SWUPD](https://github.com/clearlinux/swupd-client/blob/master/docs/swupd.1.rst#options) flags
|
|
|
|
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg
|