一,查找镜像

root@xushi:~# docker search tensorflow
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
tensorflow/tensorflow Official docker images for deep learning f...
jupyter/tensorflow-notebook Jupyter Notebook Scientific Python Stack w...
xblaster/tensorflow-jupyter Dockerized Jupyter with tensorflow [OK]
romilly/rpi-docker-tensorflow Tensorflow and Jupyter running in docker c...
floydhub/tensorflow tensorflow [OK]
erroneousboat/tensorflow-python3-jupyter Docker container with python version of ... [OK]
bitnami/tensorflow-serving Bitnami Docker Image for TensorFlow Serving [OK]
tensorflow/tf_grpc_server Server for TensorFlow GRPC Distributed Run...
mochin/tensorflow-serving tensorflow-serving [OK]
opensciencegrid/tensorflow-gpu TensorFlow GPU set up for OSG
tensorflow/tf_grpc_test_server Testing server for GRPC-based distributed ...
hytssk/tensorflow tensorflow image with matplotlib.pyplot.im... [OK]
eboraas/tensorflow TensorFlow with Jupyter Notebook, includin... [OK]
bitnami/tensorflow-inception Bitnami Docker Image for TensorFlow Inception [OK]
eywalker/tensorflow Docker image for TensorFlow ready environm...
eywalker/tensorflow-jupyter TensorFlow images designed to launch Jupyt...
abhishek404/tensorflow-gpu Tensorflow GPU image
mikebirdgeneau/r-tensorflow RStudio and Tensorflow [OK]
opensciencegrid/tensorflow TensorFlow image with some OSG additions
davidchiu/tensorflow09 tensorflow09 with GPU support
djpetti/rpinets-tensorflow Tensorflow container that is ready to be u... [OK]
aretelabs/tensorflow
fluxcapacitor/prediction-tensorflow
mediadesignpractices/tensorflow Tensorflow w/ CUDA (GPU) + extras [OK]
lab41/tensorflow-notebook

二,下载tensorflow镜像

docker pull tensorflow/tensorflow使用的是默认docker.io的镜像,很慢,改成daocloud.io的镜像

root@xushi:~# docker pull daocloud.io/daocloud/tensorflow
Using default tag: latest
latest: Pulling from daocloud/tensorflow
1be7f2b886e8: Pull complete
6fbc4a21b806: Pull complete
c71a6f8e1378: Pull complete
4be3072e5a37: Pull complete
06c6d2f59700: Pull complete
20a601a42386: Pull complete
d8967df06d5c: Pull complete
adbe4dda11a0: Pull complete
eeb8b3ca49ee: Pull complete
ab96b2cecaaa: Pull complete
e61c2ef48dde: Pull complete
50042b70c2f5: Pull complete
Digest: sha256:188bcda72801c3b756d483e3110a994567f7e3d5f197860279ae68cd2a94f97c
Status: Downloaded newer image for daocloud.io/daocloud/tensorflow:latest

三,查看本地镜像

root@xushi:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mysql latest 5195076672a7 days ago MB
daocloud.io/daocloud/tensorflow latest 414b6e39764a weeks ago 1.27 GB

四,创建并启动容器

docker run -it --name tensorflow01 -v /root/docker/tensorflow/data/notebooks:/notebooks -p : -d 414b6e39764a

五,终端进入docker,并查看notebooks的token

root@xushi:~# docker exec -it tensorflow01 bash
root@9fd3c485a723:/notebooks# jupyter notebook list
Currently running servers:
http://localhost:8888/?token=e0b376d081c919423f5818695f531d4d7e7dfa5523a5049e :: /notebooks

六,在浏览器钟查看notebooks

复制上述地址并把8888端口改成6540,然后在浏览器中打开:

http://localhost:/?token=e0b376d081c919423f5818695f531d4d7e7dfa5523a5049e

docker下安装tensorflow的更多相关文章

  1. Ubuntu下安装Tensorflow

    本文目录 引言 基于Anaconda的tensorflow安装 1 下载linux版本的Anaconda安装包 2 安装Anaconda 利用anaconda安装tensorflow 1 建立一个 c ...

  2. 【适合N卡独显电脑的环境配置】Tensorflow教程-Windows 10下安装tensorflow 1.5.0 GPU with Anaconda

    注意: 1.目前Anaconda 更新原命令activate tensorflow 改为 conda activate tensorflow 2. 目前windows with anaconda 可以 ...

  3. windows10环境下安装Tensorflow

    1.什么是tensorflow TensorFlow是谷歌基于DistBelief进行研发的第二代人工智能学习系统,其命名来源于本身的运行原理.Tensor(张量)意味着N维数组,Flow(流)意味着 ...

  4. CentOS双机中Docker下安装Mysql并配置互为主从模式

    CentOS双机中Docker下安装Mysql并配置互为主从模式 目录 1.搜索镜像... 1 2.拉取镜像... 1 3.绑定端口: 1 4.配置文件(修改/etc/mysql/my.cnf文件): ...

  5. Windows10 64位下安装TensorFlow谷歌人工智能系统已官方原生支持

    Windows10 64位下安装TensorFlow谷歌人工智能系统已官方原生支持 GitHub - tensorflow/tensorflow: Computation using data flo ...

  6. Windows7 64bits下安装TensorFlow CPU版本(图文详解)

    不多说,直接上干货! Installing TensorFlow on Windows的官网 https://www.tensorflow.org/install/install_windows 首先 ...

  7. Anaconda下安装 TensorFlow 和 keras 以及连接pycharm

    首先在官网下载Anaconda https://www.anaconda.com/download/ 安装时注意 勾选第一个,增加环境变量 安装好后再windows界面打开Anaconda Promp ...

  8. tensor搭建--windows 10 64bit下安装Tensorflow+Keras+VS2015+CUDA8.0 GPU加速

    windows 10 64bit下安装Tensorflow+Keras+VS2015+CUDA8.0 GPU加速 原文见于:http://www.jianshu.com/p/c245d46d43f0 ...

  9. Windows7 64bits下安装TensorFlow GPU版本(图文详解)

    不多说,直接上干货! Installing TensorFlow on Windows的官网 https://www.tensorflow.org/install/install_windows 首先 ...

随机推荐

  1. ArrayList集合类

    ⦁ 集合概述A:我们学习的是面向对象编程语言,而面向对象编程语言对事物的描述都是通过对象来体现的. 为了方便对多个对象进行操作,我们就必须对这多个对象进行存储,而要想对多个对象进行存储, 就不能是一个 ...

  2. Using promises

    [Using promises] 过去,异步方法这样写: function successCallback(result) { console.log("It succeeded with ...

  3. 【OpenGL】glsl、glew、glfw

    glsl: OpenGL着色语言(OpenGL Shading Language)是用来在OpenGL中着色编程的语言,也即开发人员写的短小的自定义程序,他们是在图形卡的GPU (Graphic Pr ...

  4. Linux查看修改时间、时区

    同步网络时间 yum install ntpntpdate time.nist.gov timedatectl set-timezone Asia/Shanghai如果上面time.nist.gov服 ...

  5. vue项目打包后图片路径问题

    当用vue-cli自动构建项目后,有两种运行方法,分别是: npm run dev : 提供一个开发的环境,自动热更新,资源使用绝对路径,所以可以正常看到背景图片. npm run build : 打 ...

  6. vue bus 的使用

    简单的状态管理,可以用vue bus vue bus可以实现不同组件间.不同页面间的通信,比如我在A页面出发点击事件,要B页面发生变化,使用方法如下: 全局定义:main.js window.even ...

  7. Cisco ASR1002-X告警处理

    客户反馈其机房的ASR100X告警,拍照如下图: 处理步骤: 查看日志未发现异常 查看CPU/内存/风扇未发现异常 3.清除告警#clear facility alarm依旧告警 4.shutdown ...

  8. POJ 2230 Watchcow(有向图欧拉回路)

    Bessie's been appointed the new watch-cow for the farm. Every night, it's her job to walk across the ...

  9. f5电源模块损坏

    现象: ssh登录f5后有日志显示 现场确认f5 2槽电源指示灯不亮,且电源线正常.重新开关电源模块,拔插电源线后仍不亮.故确认是电源模块损坏. 处理:直接采购新的电源模块更换即可.f5电源支持热插拔 ...

  10. crm作业知识点集合[一]

    知识点1 1.当我们通过model建立一对多或者多对多的关系的时候,默认情况下,会关联所有的字段,如果我们使用djanog的forms的话,可以加一个属性,限制我这个字段只关联哪些字段,就是用下面的写 ...