1、搜索tensorflow镜像:
docker search tensorflow
2、使用较多的有以下两个镜像(任选其中一个即可):
jupyter/tensorflow-notebook tensorflow/tensorflow:nightly-py3-jupyter
3、拉取tensorflow镜像:
docker pull jupyter/tensorflow-notebook docker pull tensorflow/tensorflow:nightly-py3-jupyter
4、创建tensorflow容器:
docker run --name tf -it -p 8888:8888 -v ~/docker/tensorflow:/home/jovyan/work jupyter/tensorflow-notebook docker run -it -p 8888:8888 -v ~/docker/tensorflow:/tf tensorflow/tensorflow:nightly-py3-jupyter5、使用notebook: docker-machine ip 192.168.0.100 查看notebook: http://192.168.0.100:8888