zjffdu commented on a change in pull request #3418: [ZEPPELIN-4241] Configure 
the interpreter docker container time zone
URL: https://github.com/apache/zeppelin/pull/3418#discussion_r309582283
 
 

 ##########
 File path: docs/quickstart/docker.md
 ##########
 @@ -58,21 +58,28 @@ vi `/etc/docker/daemon.json`, Add `tcp://0.0.0.0:2375` to 
the `hosts` configurat
 
 ## Quickstart
 
-Modify these 2 configuration items in `zeppelin-site.xml`.
+1. Modify these 2 configuration items in `zeppelin-site.xml`.
 
 ```
-  <property>
-    <name>zeppelin.run.mode</name>
-    <value>docker</value>
-    <description>'auto|local|k8s|docker'</description>
-  </property>
-
-  <property>
-    <name>zeppelin.docker.container.image</name>
-    <value>apache/zeppelin</value>
-    <description>Docker image for interpreters</description>
-  </property>
+<property>
+  <name>zeppelin.run.mode</name>
+  <value>docker</value>
+  <description>'auto|local|k8s|docker'</description>
+</property>
+
+<property>
+  <name>zeppelin.docker.container.image</name>
+  <value>apache/zeppelin</value>
+  <description>Docker image for interpreters</description>
+</property>
+```
+
+2. set timezone in zeppelin-env.sh
 
+Set to the same time zone as the zeppelin server, keeping the time zone in the 
interpreter docker container the same as the server. E.g, `"America/New_York"` 
or `"Asia/Shanghai"`
+
+```
+export DOCKER_TIME_ZONE="America/New_York"
 
 Review comment:
   Is there any default value?

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


With regards,
Apache Git Services

Reply via email to