Skip to content

Require a note for a default.ini in docs #97

@scriptjs

Description

@scriptjs

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)

  1. Write script.
  2. 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions