Skip to content

"How to use this image" references wrong directory #52

@mibes404

Description

@mibes404

In the "How to use this image" description it is mentioned that the CouchDB container uses /usr/local/var/lib/couchdb to store its data. This is not accurate for release 2.1.1.

Description is consistent in both official locations:
hub.docker.com
store.docker.com

Expected Behavior

The data files are located at "/opt/couchdb/data" and the document should reference this.

Current Behavior

If you follow the suggested configuration and map the local directory to "/usr/local/var/lib/couchdb" the local directory is created by docker-compose, but no files are written to this location.

Possible Solution

Update the documentation to "/opt/couchdb/data". For example docker-compose.yml:

  couchdb:
    image: couchdb  
    volumes:
      - ./local_couch_files:/opt/couchdb/data     

Your Environment

  • Version used: 2.1.1

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