Solution to exercises https://github.com/udacity/deep-learning-v2-pytorch/tree/master/intro-to-pytorch Refer to here for the environment: https://github.com/udacity/deep-learning-v2-pytorch/blob/master/README.md docker build -t intropytorch:v1 . docker run -p 8888:8888 -v "$PWD":/myworkdir --rm -it intropytorch:v1