./build.sh
Image hierarchy:
java-app
/
maven
/ \
/ scala-app
/
spark-base - spark-master
/ \
/ spark-worker
cluster-base
\ python-app
\ /
pyspark
\
jupyterlab
Make sure LOCAL_WORKSPACE
in .env
is correct.
Caveat: You will need to run docker volume rm spark_docker_shared-workspace
after modifying
LOCAL_WORKSPACE
in order to make the change take effect.
Start the Spark cluster
docker-compose up
Visit JupyterLab at http://127.0.0.1:8888/lab.
Shutdown the Spark cluster
docker-compose down