zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject zeppelin git commit: [ZEPPELIN-2666] docs: Add docker usage to download page
Date Thu, 22 Jun 2017 20:48:29 GMT
Repository: zeppelin
Updated Branches:
  refs/heads/gh-pages f50d9de59 -> 0015eb087


[ZEPPELIN-2666] docs: Add docker usage to download page

### What is this PR for?

Recently, Zeppelin community released the official docker image for Zeppelin 0.7.2.
If we add some usage in http://zeppelin.apache.org/download.html, it would be helpful.

### What type of PR is it?
[Documentation]

### Todos

DONE

### What is the Jira issue?

[ZEPPELIN-2666](https://issues.apache.org/jira/browse/ZEPPELIN-2666)

### How should this be tested?

1. checkout
2. `bundle exec jekyll serve --watch` (make sure that you have ruby and required gems are
installed already)

### Screenshots (if appropriate)

![image](https://user-images.githubusercontent.com/4968473/27274556-c648bc92-550e-11e7-8d06-0f04ad35b1f7.png)

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO

Author: 1ambda <1amb4a@gmail.com>

Closes #2419 from 1ambda/ZEPPELIN-2667/add-docker-usage-to-download-page and squashes the
following commits:

a7a7e31 [1ambda] feat: Add description for clearing cache
a118e51 [1ambda] fix: Typo. 'volume'
1785a2a [1ambda] fix: typo
3a90522 [1ambda] docs: Add docker usage to download page


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/0015eb08
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/0015eb08
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/0015eb08

Branch: refs/heads/gh-pages
Commit: 0015eb087cf9be3e97c16ae871171ef7c21f6f88
Parents: f50d9de
Author: 1ambda <1amb4a@gmail.com>
Authored: Wed Jun 21 10:46:57 2017 +0900
Committer: Lee moon soo <moon@apache.org>
Committed: Thu Jun 22 13:48:12 2017 -0700

----------------------------------------------------------------------
 download.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/0015eb08/download.md
----------------------------------------------------------------------
diff --git a/download.md b/download.md
index 5c7d00c..1a790ee 100644
--- a/download.md
+++ b/download.md
@@ -43,6 +43,23 @@ The latest release of Apache Zeppelin is **0.7.2**.
     [md5](https://www.apache.org/dist/zeppelin/zeppelin-0.7.2/zeppelin-0.7.2.tgz.md5),
     [sha](https://www.apache.org/dist/zeppelin/zeppelin-0.7.2/zeppelin-0.7.2.tgz.sha512))
 
+# Using the official docker image 
+
+Make sure that [docker](https://www.docker.com/community-edition) is installed in your local
machine.  
+
+Use this command to launch Apache Zeppelin in a container. 
+
+```bash
+docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.7.2
+```
+
+To persist `logs` and `notebook` directories, use the [volume](https://docs.docker.com/engine/reference/commandline/run/#mount-volume--v-read-only)
option for docker container.
+
+```bash
+docker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs'
-e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.7.2
+```
+
+If you have trouble accessing `localhost:8080` in the browser, Please clear browser cache.
 
 ## Verify the integrity of the files
 


Mime
View raw message