You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/03/07 13:14:21 UTC

[GitHub] [incubator-iotdb] jixuan1989 commented on a change in pull request #885: update ReadMe file for introducing how to mount local folders in docker

jixuan1989 commented on a change in pull request #885: update ReadMe file for introducing how to mount local folders in docker
URL: https://github.com/apache/incubator-iotdb/pull/885#discussion_r389254009
 
 

 ##########
 File path: docker/ReadMe.md
 ##########
 @@ -54,6 +54,16 @@ c82321c70137        apache/iotdb:0.9.1  "/iotdb/sbin/start-s…"   12 minutes ag
 docker exec -it c82321c70137 /bin/bash
 ```
 
+# How to configure docker volumes
+
+The instructions below show how to store the output data and logs of IoTDB to two folders called 
+iotdb_data and iotdb_logs respectively. 
+
+`/D/docker/iotdb_data` and `/D/docker/iotdb_logs` can be changed to any local directory of your own host.
+```
+docker run -it -v /D/docker/iotdb_data:/iotdb/data -v /D/docker/iotdb_logs:/iotdb/logs --name 123 apache/iotdb:0.9.0
+```
+
 Then, run `start-client.sh`
 
 Review comment:
   This sentence is for the Chapter of "How to run IoTDB client"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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