Docker image to run an out of the box CouchDB.
504
Docker image to run an out of the box CouchDB.
$ docker build -t partlab/ubuntu-couchdb .
$ docker pull partlab/ubuntu-couchdb
$ docker run -d -p 5984:5984 --name couchdb partlab/ubuntu-couchdb
$ docker run -d -p 5984:5984 --name couchdb -v <data-dir>/db:/var/lib/couchdb partlab/ubuntu-couchdb
COUCHDB_PASSWORD: Password for the admin user (defaults a password is created - get the password via docker logs )$ boot2docker halt
$ VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port5984,tcp,,5984,,5984"
$ boot2docker up
docker pull partlab/ubuntu-couchdb:latest