potatogresql - PostgreSQL on Debian Potato
DOCKER HUB
https://registry.hub.docker.com/u/mcandre/potatogresql/
EXAMPLE
$ make
docker build -t mcandre/potatogresql .
docker exec ec78736c17866d05a185c830ae0e3f44656a0a7674a0c9f2e4f9d040235f9dd8 psql -h $(boot2docker ip) -U postgres -c "SELECT 'Hello World!';"
?column?
--------------
Hello World!
(1 row)
REQUIREMENTS
Optional
Debian/Ubuntu
$ sudo apt-get install docker.io build-essential
RedHat/Fedora/CentOS
$ sudo yum install docker-io
non-Linux
Mac OS X
$ brew cask install virtualbox vagrant
$ brew install boot2docker
Windows
> chocolatey install docker make