https://github.com/1ambda/docker-zeppelin
All-in-one Docker image for Apache Zeppelin
https://github.com/1ambda/docker-zeppelin
docker-image docker-zeppelin zeppelin
Last synced: about 1 year ago
JSON representation
All-in-one Docker image for Apache Zeppelin
- Host: GitHub
- URL: https://github.com/1ambda/docker-zeppelin
- Owner: 1ambda
- Created: 2016-12-06T09:11:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T07:56:30.000Z (almost 9 years ago)
- Last Synced: 2025-04-01T09:03:29.952Z (about 1 year ago)
- Topics: docker-image, docker-zeppelin, zeppelin
- Language: Shell
- Homepage: https://hub.docker.com/r/1ambda/docker-zeppelin/
- Size: 20.5 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
  
# Deprecated, Please use the official image.
https://hub.docker.com/r/apache/zeppelin/
For example,
```sh
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
```
# docker-zeppelin
All-in-one Docker image for [Apache Zeppelin](http://zeppelin.apache.org) based on ubuntu with
- **Java 8**
- **R** with basic packages
- **Python 2** with basic packages (but it's recommended to use [%python.conda](http://zeppelin.apache.org/docs/0.7.1/interpreter/python.html#conda) in Zeppelin)
- **miniconda2** for [conda interpreter](http://zeppelin.apache.org/docs/0.7.1/interpreter/python.html#conda) in Zeppelin
## Supported tags
* `0.7.1` (based on [0.7.1](https://github.com/1ambda/docker-zeppelin/blob/master/0.7.1/Dockerfile))
* `0.7.0` (based on [0.7.0](https://github.com/1ambda/docker-zeppelin/blob/master/0.7.0/Dockerfile))
* `0.6.2` (based on [0.6.2](https://github.com/1ambda/docker-zeppelin/blob/master/0.6.2/Dockerfile))
## How to run
```bash
$ docker run -it --name zeppelin --rm -p 8080:8080 1ambda/docker-zeppelin:0.7.1
```
If you want to see other interpreters' logs
```bash
$ docker exec -it zeppelin-0.7.1 bash # localhost terminal
$ tail -F logs/* # inside docker container
```
Additionally, you can set `logs` and `notebook` dirs like
```bash
$ docker run -it --name zeppelin --rm -p 8080:8080 \
-v $PWD/logs:/logs \
-v $PWD/notebook:/notebook \
-e ZEPPELIN_NOTEBOOK_DIR='/notebook' \
-e ZEPPELIN_LOG_DIR='/logs' \
--name zeppelin 1ambda/docker-zeppelin:0.7.1
```
## Install additional python, R packages
It's recommended to use [%python.conda](http://zeppelin.apache.org/docs/0.7.1/interpreter/python.html#conda) in Zeppelin, instead of installing packages for local python
```bash
$ docker exec -it zeppelin-0.7.1 bash # localhost terminal
# install python packages inside docker container
$ pip install flask
# install R packages inside docker container
$ R -e "install.packages('knitr', repos='http://cran.us.r-project.org')"
```
## Tips
### Networking with systems on other hosts
Docker container can't connect external system if they are not on the same docker network. (e.g containers launched by docker-compose)
So if you want to connect other systems you can use `--net=host` option, but [it might not work for OSX](https://github.com/docker/for-mac/issues/68)