A docker image that produces a container that will run PostgreSQL.
This is a clone of paintedfox/postgresql except that it was created with phusion/baseimage:0.9.10 instead of 0.9.13.
The image was created this way to over come a problem I had with," Couldn't initialize inotify. Are you running Linux 2.6.13 or later, and was the
CONFIG_INOTIFY option enabled when your kernel was compiled? If so,
something mysterious has gone wrong. Please e-mail firstname.lastname@example.org
and mention that you saw this message.
2014-09-09 13:07:23 UTC FATAL: could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied" when trying to run the image as a docker provider in a Vagrantfile in a cygwin shell running on Windows 7.
For more information, about the details (volumes, port mapping, password, etc) of running this image just refer to the documentation provided in paintedfox/postgresql .
Sample docker run command:
docker run -d \
-p 127.0.0.1:15432:5432 \
-v /your/fully/qualified/path/dirname:/data \
-e USER="auserid" \
-e DB="adbname" \
-e PASS="apassword" \