Files
dockerfiles/postgres/README.md
T
Patrick McCarty d6864e5c91 Link to swupd-client repo for swupd option docs
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>
2019-04-29 13:07:00 -07:00

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