1.下载镜像
docker pull apache/zeppelin:0.8.0
2.创建卷
docker volume create zeppelin-logs
docker volume create zeppelin-notebook
3.启动zeppelin
docker run -d -p 18089:8080 \
-v zeppelin-logs:/logs \
-v zeppelin-notebook:/notebook \
--env HOST_IP=0.0.0.0 \
--env ZEPPELIN_LOG_DIR='/logs' \
--env ZEPPELIN_NOTEBOOK_DIR='/notebook' \
--volume /etc/localtime:/etc/localtime \
--restart=always \
--name zeppelin apache/zeppelin:0.8.0