Sign inSign up

1ambda/docker-zeppelin

By 1ambda

Updated over 9 years ago

all-in-one Docker image for Apache Zeppelin

Image
2

5.0K

1ambda/docker-zeppelin repository overview

Docker Pulls Docker Stars Docker Automated buil

docker-zeppelin

All-in-one Docker image for Apache Zeppelin based on ubuntu with

Supported tags

How to run

$ docker run -it --name zeppelin --rm -p 8080:8080 1ambda/docker-zeppelin:0.7.1

If you want to see other interpreters' logs

$ 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

$ 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 in Zeppelin, instead of installing packages for local python

$ 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

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

over 9 years ago

docker pull 1ambda/docker-zeppelin:0.6.2