commit | 60854266caf3156b2f6d77f9367177de2327953e | [log] [tgz] |
---|---|---|
author | Chris <chris-kobrzak@users.noreply.github.com> | Wed May 27 23:23:06 2015 +0100 |
committer | klaemo <klaemo@fastmail.fm> | Thu May 28 17:34:00 2015 +0200 |
tree | c8cfaf8251f7a3126668ae4b5cde9cb35c3bcef3 | |
parent | 7a9f5f2765813022f33187ebcfd4f10d23438e0e [diff] |
Update Erlang dependencies to version 17.5.3 As of 27/05/2015, when you try building a Docker image with CouchDB 1.6.1, you get the following error: > The following packages have unmet dependencies: > erlang-dev : Depends: erlang-base (= 1:17.4) but 1:17.5.3 is to be installed or > erlang-base-hipe (= 1:17.4) > E: Unable to correct problems, you have held broken packages. This patch fixes the issue and allows you to complete the build process. closes #25
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
CouchDB 1.6.1
, Erlang 17.4
CouchDB 2.0 developer preview
, Erlang 17.0
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.
Available on the docker registry as klaemo/couchdb:2.0-dev
# expose the cluster to the world [sudo] docker run -i -t -p 15984:15984 -p 25984:25984 -p 35984:35984 --name couchdb klaemo/couchdb:2.0-dev curl http://localhost:15984 curl http://localhost:25984 curl http://localhost:35984
...or you can pass arguments to the binary
docker run -i -t klaemo/couchdb:2.0-dev --admin=foo:bar
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
Please use Github issues for any questions, bugs, feature requests. :)