[sudo] docker pull dogi/rpi-couchdb:latest
expose it to the world on port 5984
[sudo] docker run -d -p 5984:5984 --name couchdb dogi/rpi-couchdb
- built on top of the solid and small resin:raspbian base image
- exposes CouchDB on port 5984 of the container
- runs everything as user couchdb (security ftw!)
- docker volumes for data and logs
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.