Skip to content

Instantly share code, notes, and snippets.

@metasong
Last active October 28, 2016 09:14
Show Gist options
  • Save metasong/2c72c5b407e2e07b5c03f9c9ce1c5c07 to your computer and use it in GitHub Desktop.
Save metasong/2c72c5b407e2e07b5c03f9c9ce1c5c07 to your computer and use it in GitHub Desktop.
1. install: docker toolbox (https://github.com/docker/toolbox/releases)
2. start kitematic and install tensorflow, and start it.
3. connect to running container: docker run -it -p 8888:8888 -v /c/Users/jsong12/tensorflow:/notebooks tensorflow/tensorflow
4. go to Kitematic and find the newly created container, open shell.
Using Bash
• Connect to running container – docker exec -it [Container ID] bash
• Start container with some share folder – docker run -it -v /c/Users/Data:/home tesorflow/tensorflow /bin/bash
docker run -it -p 8888:8888 -v /c/Users/jsong12/tensorflow:/notebooks tensorflow/tensorflow
http://192.168.99.100:8888/tree
list machines: docker-machine ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment