Skip to content

Commit 483bec3

Browse files
committed
docs: Update README for Dockerfile
1 parent 5826c8c commit 483bec3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/install/docker.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919
-->
2020
{% include JB/setup %}
2121

22-
# Apache Zeppelin Releases Docker Images
22+
# Docker Image for Apache Zeppelin Releases
2323

2424
<div id="toc"></div>
2525

@@ -34,28 +34,28 @@ You need to [install docker](https://docs.docker.com/engine/installation/) on yo
3434
### Running docker image
3535

3636
```
37-
docker run -p 8080:8080 --name zeppelin zeppelin:<release-version>
37+
docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:<release-version>
3838
```
3939

4040
* Zeppelin will run at `http://localhost:8080`.
4141

4242
If you want to specify `logs` and `notebook` dir,
4343

4444
```
45-
docker run -p 8080:8080 \
45+
docker run -p 8080:8080 --rm \
4646
-v $PWD/logs:/logs \
4747
-v $PWD/notebook:/notebook \
4848
-e ZEPPELIN_LOG_DIR='/logs' \
4949
-e ZEPPELIN_NOTEBOOK_DIR='/notebook' \
50-
--name zeppelin zeppelin:<release-version> # e.g '0.7.1'
50+
--name zeppelin apache/zeppelin:<release-version> # e.g '0.7.1'
5151
```
5252

5353
### Building dockerfile locally
5454

5555
```
5656
cd $ZEPPELIN_HOME
57-
cd scripts/docker/zeppelin
57+
cd scripts/docker/zeppelin/bin
5858
59-
./create-dockerfile.sh <release-version> # e.g '0.7.1'
59+
docker build -t my-zeppelin:my-tag ./
6060
```
6161

0 commit comments

Comments
 (0)