The logs directory will be your $PWD/.zeppelin_logs and the notebook directory will be $PWD/.notebook:/notebook.
If you dont create folders before running the next command, the folders will be created as the
rootuser, which will be problematic for the container to create.git/and other folders in there. You can simply fix that too, by doingsudo chown -R $USER .zeppelin_logs .notebook.
mkdir -p $PWD/.zeppelin_logs $PWD/.notebook
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