How to run PySpark through Jupyter notebook via Docker

docker run -it -p 8888:8888 jupyter/pyspark-notebook

Install Docker before that

 

source -https://levelup.gitconnected.com/using-docker-and-pyspark-134cd4cab867