scriptjs opened a new issue #97: Require a note for a default.ini in docs URL: https://github.com/apache/couchdb-docker/issues/97 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) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. Write script. 2. Execute script to launch image. ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> Launch the image ## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * 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:
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
