Maxima078 commented on issue #78: Configuration is lost on docker restart
URL: https://github.com/apache/couchdb-docker/issues/78#issuecomment-389559841
 
 
   I though about this workaround, but when we do not need to store 
configuration files in the host these files updated after the container 
creation should be saved, don't you think?
   
   EDIT: mount "/usr/local/etc/couchdb" seems not possible, it leads to "chmod: 
cannot access '/usr/local/etc/couchdb/*.ini': No such file or directory".
   Mount "/usr/local/etc/couchdb/local.d" is possible and I can see any 
modification is written in bind_adress.ini but after a `docker restart` 
configuration is still lost.
   
   Here is the command I used:
   `docker run -d --restart unless-stopped --name mycouch -p 6012:5984 -v 
"/data/docker/config/couch10:/usr/local/etc/couchdb/local.d" couchdb:1.7.1`

----------------------------------------------------------------
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

Reply via email to