unstick r1869350

Revision 1869350

Date:
2019/11/04 01:46:06
Author:
zjffdu
Revision Log:
Update doc for docker
Files:

Legend:

 
Added
 
Removed
 
Modified
  • zeppelin/site/docs/0.8.2/atom.xml

     
    4 4 <title>Apache Zeppelin</title>
    5 5 <link href="http://zeppelin.apache.org/" rel="self"/>
    6 6 <link href="http://zeppelin.apache.org"/>
    7 <updated>2019-10-30T21:27:31+08:00</updated>
    7 <updated>2019-11-04T09:42:17+08:00</updated>
    8 8 <id>http://zeppelin.apache.org</id>
    9 9 <author>
    10 10 <name>The Apache Software Foundation</name>
  • zeppelin/site/docs/0.8.2/rss.xml

     
    5 5 <description>Apache Zeppelin - The Apache Software Foundation</description>
    6 6 <link>http://zeppelin.apache.org</link>
    7 7 <link>http://zeppelin.apache.org</link>
    8 <lastBuildDate>2019-10-30T21:27:31+08:00</lastBuildDate>
    9 <pubDate>2019-10-30T21:27:31+08:00</pubDate>
    8 <lastBuildDate>2019-11-04T09:42:17+08:00</lastBuildDate>
    9 <pubDate>2019-11-04T09:42:17+08:00</pubDate>
    10 10 <ttl>1800</ttl>
    11 11
    12 12
  • zeppelin/site/docs/0.8.2/search_data.json

     
    589 589
    590 590 "/setup/deployment/docker.html": {
    591 591 "title": "Apache Zeppelin Releases Docker Images",
    592 "content" : "&lt;!--Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an &quot;AS IS&quot; BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--&gt;{% include JB/setup %}# Docker Image for Apache Zeppelin Releases ## Overview This document contains instructions about making docker containers for Zeppelin. It mainly provides guidance into how to create, publish and run docker images for zeppelin releases.## Quick Start### Installing DockerYou need to [install docker](https://docs.docker.com/engine/installation/) on your machine.### Running docker image```bashdocker run -p 8080:8080 --rm --name zeppelin apache/zeppelin: ```* Zeppelin will run at `http://localhost:8080`.If you want to specify `logs` and `notebook` dir, ```bashdocker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR=&#39;/logs&#39; -e ZEPPELIN_NOTEBOOK_DIR=&#39;/notebook&#39; --name zeppelin apache/zeppelin: # e.g &#39;0.7.1&#39;```### Building dockerfile locally```bashcd $ZEPPELIN_HOMEcd scripts/docker/zeppelin/bindocker build -t my-zeppelin:my-tag ./```",
    592 "content" : "&lt;!--Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an &quot;AS IS&quot; BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--&gt;{% include JB/setup %}# Docker Image for Apache Zeppelin Releases ## Overview This document contains instructions about making docker containers for Zeppelin. It mainly provides guidance into how to create, publish and run docker images for zeppelin releases.## Quick Start### Installing DockerYou need to [install docker](https://docs.docker.com/engine/installation/) on your machine.### Running docker image```bashdocker run -p 8080:8080 -e ZEPPELIN_ADDR=&#39;0.0.0.0&#39; --rm --name zeppelin apache/zeppelin: ```* Zeppelin will run at `http://localhost:8080`.If you want to specify `logs` and `notebook` dir, ```bashdocker run -p 8080:8080 --rm -v $PWD/logs:/logs -v $PWD/notebook:/notebook -e ZEPPELIN_LOG_DIR=&#39;/logs&#39; -e ZEPPELIN_NOTEBOOK_DIR=&#39;/notebook&#39; --name zeppelin apache/zeppelin: # e.g &#39;0.7.1&#39;```### Building dockerfile locally```bashcd $ZEPPELIN_HOMEcd scripts/docker/zeppelin/bindocker build -t my-zeppelin:my-tag ./```",
    593 593 "url": " /setup/deployment/docker.html",
    594 594 "group": "setup/deployment",
    595 595 "excerpt": "This document contains instructions about making docker containers for Zeppelin. It mainly provides guidance into how to create, publish and run docker images for zeppelin releases."
  • zeppelin/site/docs/0.8.2/setup/deployment/docker.html

     
    271 271 <p>You need to <a href="https://docs.docker.com/engine/installation/">install docker</a> on your machine.</p>
    272 272
    273 273 <h3>Running docker image</h3>
    274 <div class="highlight"><pre><code class="bash language-bash" data-lang="bash">docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:&lt;release-version&gt;
    274 <div class="highlight"><pre><code class="bash language-bash" data-lang="bash">docker run -p 8080:8080 -e <span class="nv">ZEPPELIN_ADDR</span><span class="o">=</span><span class="s1">&#39;0.0.0.0&#39;</span> --rm --name zeppelin apache/zeppelin:&lt;release-version&gt;
    275 275 </code></pre></div>
    276 276 <ul>
    277 277 <li>Zeppelin will run at <code>http://localhost:8080</code>.</li>