commit | 9cc60bb2f88716f7cf58c7f3c6d5f1501fdf9ba0 | [log] [tgz] |
---|---|---|
author | Joey Baker <joey@byjoeybaker.com> | Mon Dec 01 15:18:49 2014 -0800 |
committer | Joey Baker <joey@byjoeybaker.com> | Mon Dec 01 15:18:49 2014 -0800 |
tree | 300a98cd6a80ad6bc2e19612bc5ed3e9557c1173 | |
parent | 0a69b3a4b4daa63a5d52cd2a489fa6744a3b1ec8 [diff] |
Keep erlang around Turns out, couchdb needs erlang for more than just compiling. You want to keep this sucker around.
Yet Another Dockerized CouchDB. Put the couch in a docker container and ship it anywhere.
If you're looking for a CouchDB with SSL support you can check out klaemo/couchdb-ssl
Version: CouchDB 1.6.1
Available in the docker index as klaemo/couchdb
[sudo] docker pull klaemo/couchdb:latest # expose it to the world on port 5984 [sudo] docker run -d -p 5984:5984 --name couchdb klaemo/couchdb curl http://localhost:5984
debian:wheezy
base image5984
of the containercouchdb
(security ftw!)The previous version of this image used to come with a process manager to keep CouchDB running. As of Docker 1.2 you can use the --restart
flag to accomplish this.
You can use klaemo/couchdb
as the base image for your own couchdb instance. You might want to provide your own version of the following files:
local.ini
for CouchDBExample Dockerfile:
FROM klaemo/couchdb COPY local.ini /usr/local/etc/couchdb/
and then build and run
[sudo] docker build -t you/awesome-couchdb . [sudo] docker run -d -p 5984:5984 -v ~/couchdb:/usr/local/var/lib/couchdb you/awesome-couchdb