guatedude2 opened a new issue #72: How to populate with data build URL: https://github.com/apache/couchdb-docker/issues/72 When creating a custom build, how does one populate the instance with data? when trying to use `curl` I get the following output: ``` Step 1/3 : FROM couchdb:latest ---> 612df5f25616 Step 2/3 : COPY local.ini /opt/couchdb/etc/ ---> Using cache ---> 8014ca35a3eb Step 3/3 : RUN curl -X PUT http://127.0.0.1:5984/datastore ---> Running in dbc3f52dc398 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused ERROR: Service 'db' failed to build: The command '/bin/sh -c curl -X PUT http://127.0.0.1:5984/datastore' returned a non-zero code: 7 ``` here's my `Dockerfile` ``` FROM couchdb:latest COPY local.ini /opt/couchdb/etc/ RUN curl -X PUT http://127.0.0.1:5984/datastore ``` Any ideas how this can be achieved during build?
---------------------------------------------------------------- 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
