You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/03/11 03:34:53 UTC
[incubator-iotdb] branch master updated: update ReadMe file for
introducing how to mount local folders in docker (#885)
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 7a24d65 update ReadMe file for introducing how to mount local folders in docker (#885)
7a24d65 is described below
commit 7a24d65ec7c8db2675897ce567b41c4aec9a22fd
Author: zzy9424 <61...@users.noreply.github.com>
AuthorDate: Wed Mar 11 11:34:46 2020 +0800
update ReadMe file for introducing how to mount local folders in docker (#885)
* update ReadMe file for introducing how to mount local folders in docker
---
docker/ReadMe.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/docker/ReadMe.md b/docker/ReadMe.md
index 137c639..8590aed 100644
--- a/docker/ReadMe.md
+++ b/docker/ReadMe.md
@@ -38,6 +38,16 @@ For example,
docker run -d -p 6667:6667 -p 31999:31999 -p 8181:8181 -p 5555:5555 apache/iotdb:0.9.1
```
+## 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
+```
+
# How to run IoTDB client
Suppose you have run an IoTDB Server in docker