Play Python on Zeppelin in Docker container

Jeff Zhang
1 min readSep 23, 2021

--

Apache Zeppelin is web-based notebook that enables data-driven,
interactive data analytics and collaborative documents with SQL, Scala, Python, R and more.

This article is to guide you how to play Python on Zeppelin in docker container without any manual setting.

First run the following command to start Zeppelin in Docker container:

docker run -u $(id -u) -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.10.0

Then open http://localhost:8080, you can see the following page. You can also run the above command on another machine, and access Zeppelin remotely via url like http://my-zeppelin-server:8080

Zeppelin is shipped with some built-in tutorial notes. Open folder Python Tutorial , you can see 4 Python tutorial notes. The first 3 notes can run directly in docker container.

  • 1. IPython Basics
  • 2. IPython Visualization Tutorial
  • 3. Keras Binary Classification (IMDB)

Here’s one short video which demonstrate how to Play Python in Zeppelin docker container.

Besides these feature, there’re more features in Zeppelin’s Python interpreter, for more details, please check out Zeppelin’s official document. https://zeppelin.apache.org/docs/0.10.0/interpreter/python.html

--

--

Jeff Zhang

Apache Member, Open source veteran, Big Data, Data Science,