You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/08/01 10:35:36 UTC

[GitHub] [zeppelin] liuxunorg commented on a change in pull request #3418: [ZEPPELIN-4241] Configure the interpreter docker container time zone

liuxunorg 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_r309631569
 
 

 ##########
 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:
   This is the world's various time zones, a generic string, not our custom string.

----------------------------------------------------------------
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