You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2017/10/24 12:12:07 UTC

[GitHub] Maxima078 opened a new issue #35: Dockerfile with data

Maxima078 opened a new issue #35: Dockerfile with data
URL: https://github.com/apache/couchdb-docker/issues/35
 
 
   Hi, this is probably related to https://github.com/apache/couchdb-docker/issues/34 but just in case this is what I'm trying to do:
   
   I'm preparing a Dockerfile from apache/couchdb:2.1.0. I want to overwrite local.ini and prepare data (default databases and _users database with design among other things). It was really easy to import my local.ini with the COPY command. But I cannot use ADD to import my own data folder, it's always erased by the container data. Here is my Dockerfile:
   
       FROM apache/couchdb:2.1.0
       MAINTAINER Max <ma...@gmail.com>
       ADD /data /opt/test/data
       COPY local.ini /opt/couchdb/etc/local.ini
   
   Is that even possible? 
   
   Thanks for any hints.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services