CouchDB on Docker.
docker pull quay.io/aptible/couchdb
docker run quay.io/aptible/couchdb
docker run -v <host-mountpoint>/couchdb:/var/lib/couchdb quay.io/aptible/couchdb sh -c "couchdb -b && sleep 1 && curl -X PUT localhost:5984/_config/admins/aptible -d '\"password\"'"
docker run -v <host-mountpoint>/couchdb:/var/lib/couchdb quay.io/aptible/couchdb sh -c "couchdb -b && sleep 1 && curl -X PUT http://localhost:5984/db"
latest
: Currently CouchDB 1.5.0
Tests are run as part of the Dockerfile
build. To execute them separately within a container, run:
bats test
To push the Docker image to Quay, run the following command:
make release
MIT License, see LICENSE for details.
Copyright (c) 2014 Aptible and contributors.