Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Last active May 27, 2020 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fahadsiddiqui/019b9224a892fdf781d5d6d4c723accb to your computer and use it in GitHub Desktop.
Save fahadsiddiqui/019b9224a892fdf781d5d6d4c723accb to your computer and use it in GitHub Desktop.
Run Apache Zeppelin docker container with port number 9376.

The logs directory will be your $PWD/.zeppelin_logs and the notebook directory will be $PWD/.notebook:/notebook.

Create Folders

If you dont create folders before running the next command, the folders will be created as the root user, which will be problematic for the container to create .git/ and other folders in there. You can simply fix that too, by doing sudo chown -R $USER .zeppelin_logs .notebook.

mkdir -p $PWD/.zeppelin_logs $PWD/.notebook

Run

docker run -p 9376:8080 --rm -v $PWD/.zeppelin_logs:/logs -v $PWD/.notebook:/notebook -e ZEPPELIN_LOG_DIR='/logs' -e ZEPPELIN_NOTEBOOK_DIR='/notebook' --name zeppelin apache/zeppelin:0.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment