all-in-one Docker image for Apache Zeppelin
5.0K
All-in-one Docker image for Apache Zeppelin based on ubuntu with
$ 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
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')"
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
Content type
Image
Digest
Size
1.2 GB
Last updated
over 9 years ago
docker pull 1ambda/docker-zeppelin:0.6.2