Last active
April 3, 2021 08:29
-
-
Save finesse-fingers/c380a22213af545a4798dae7cf2f0598 to your computer and use it in GitHub Desktop.
Start a CouchDB container with mount
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /home/ubuntu/couchdb/data | |
docker run -d \ | |
--restart unless-stopped \ | |
-v /home/ubuntu/couchdb/data:/opt/couchdb/data \ | |
-e COUCHDB_USER=admin \ | |
-e COUCHDB_PASSWORD=strongPassword \ | |
-p 5984:5984 \ | |
--name couchdb \ | |
couchdb:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment