Public Repository

Last pushed: a year ago
Short Description
PostgreSQL Server running on CentOS 7 latest version.
Full Description

PostgreSQL version 9.3

Example

Command
docker run
  --detach                             \
  --hostname "pandora.mydomain.tld"    \
  --name "pandora"                     \
  --env POSTGRES_USER=nettoclaudio     \
  --env POSTGRES_PASSWORD=123456890    \
  --env POSTGRES_DATABASE=nettoclaudio \
  --publish 5432:5432                  \
  capgov/postgres:latest

Run this command as a Docker user.

Explanation

In the above command, it will run a container in background modes, with name "pandora", and internal hostname "pandora.mydomain.tld". The database server will be created with a superuser called "nettoclaudio" and the password "1234567890". That user can do anything in this database.


WARNING

It's required to submit the environments parameters: POSTGRES_USER and POSTGRES_PASSWORD.


How can I extend this image?

TODO

Docker Pull Command
Owner
capgov

Comments (0)