CentOS7配置Docker环境



yum install -y yum-utils

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

yum makecache fast

yum -y install docker-ce

systemctl start docker

# rpm 包安装

rpm -ivh https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-17.03.1.ce-1.el7.centos.x86_64.rpm

systemctl start docker

# Docker 镜像迁移

docker images

docker save tensorflow/tensorflow | gzip > tensorflow.tgz

docker load -i tensorflow.tgz