This is just a fork from https://github.com/EdBoraas/jupyter-docker with minor fixes and a docker-compose file added. Any credits should go in the direction of Ed Boraas.
Of course you need to have Docker installed and running
Download the docker-compose file, then run it and show the logs to get the right url with token:
docker-compose up -d && docker-compose logs -f
Copy the url which has the form http://127.0.0.1:8888/?token=<SOME_RANDOM_NUMBERS_AND_LETTERS>, paste it in your browser and close the logs with ctrl-c. The compose file should create a notebooks directory in which you can put your Jupyter notebooks. You can find a nice space invaders example here.
Please let me know when you see room for improvement.