Setting up Docker and TensorFlow for Windows 7 / Windows 10 Home

Installing Docker

  • Download and run the docker-toolbox installer here.
  • Reboot into your BIOS/UEFI settings and enable Virtualization
  • Run ‘Docker Quickstart shell’. Once the VM starts up, run the hello-world image to ensure Docker is working properly

Installing TensorFlow

  • In the existing Docker shell, pull the TensoFlow docker image:
  • Test running the Docker TensorFlow image:
  • Copy the URL with your login Jupyter login token from the Docker Quickstart shell and go to it in your web browser

If you were able to access the page, Docker and TensorFlow have been installed correctly.

Getting the TensorFlow Tutorials

Note: For this tutorial, we are cloning the TensorFlow-Tutorials repo to the root of our user directory, you can put it anywhere you like, but the rest of the tutorial will assume it is located at:

  • Clone the github repo https://github.com/lexfridman/deepcars to your user directory
  • In Docker Quickstart shell, run the TensorFlow docker image and mount the notebooks.
  • In your browser, navigate to URL provided by Docker
  • Ensure that the notebooks for the tutorials are available (you should see ‘1_python_perceptron.ipynb’ as the first notebook).

Congratulations!  If you were able to access the deepcars Notebooks from within your browser, everything should be working!

Note: We recommend adding the command to run the Docker image and mount the notebooks to a script for easy execution. Simply open notepad and paste in the lines

Save the script as ‘start-tensorflow.sh’ in the root of your user directory and run the script within the Docker shell