Public Repository

Last pushed: 2 years ago
Short Description
Start and initialize the database
Full Description

The following script starts a new Postgres database and fills it with the current data.

Run the image

# Start postgres database
docker run -d --name db postgres:9.1
sleep 3

# VOLUME: Provide last SQL dump of the database
docker run -d --name import-dump-volume noselus/import-dump-volume

# RUN-ONCE: Import the inital data
docker run --name import-dump --link db:db --volumes-from import-dump-volume noselus/import-dump
Docker Pull Command