-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
I wrote a small docker-init.sh to initialize couch:
echo "Enter the CouchDB password to use: "
read -sr PASSWORD_INPUT
mkdir -p ~/Data/CouchDB/opt/couchdb/data
mkdir -p ~/Data/CouchDB/etc/local.d
docker run -p 5984:5984 \
--volume ~/Data/CouchDB/opt/couchdb/data:/opt/couchdb/data \
--volume ~/Data/CouchDB/etc/local.d:/opt/couchdb/etc/local.d \
--env COUCHDB_USER=admin \
--env COUCHDB_PASSWORD=$PASSWORD_INPUT \
apache/couchdb:2.1.1
I received the following error:
chmod: cannot access '/opt/couchdb/etc/local.d/*.ini': No such file or directory
Expected Behavior
No error should be emitted.
Current Behavior
Errors as above.
Possible Solution
I looked at the image. I included the 10-docker-default.ini in my ~/Data/Couchdb/etc/local.d folder. It booted. A note and default *.ini should be referenced.
Steps to Reproduce (for bugs)
- Write script.
- Execute script to launch image.
Context
Launch the image
Your Environment
- Version used: 2.2.0
- Browser Name and version: FireFox 62.0b17
- Operating System and version (desktop or mobile): MacOS 10.13.6 High Sierra
- Link to your project:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels