标签:x86 logs ffffff otool emc target 51cto lan -o
CentOS Linux release 7.0.1406 (Core)一、安装基础依赖
1、卸载老版本
sudo rpm -e $(rpm -qa | grep docker)
2、设置仓库
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
3、启动extras额外的依赖库
sudo yum-config-manager --enable extras
4、设置docker稳定的源
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
5、启动docker.repo源
sudo yum-config-manager --enable docker-ce-edge
二、安装docker
1、更新yum的安装索引
sudo yum makecache fast
2、安装docker版本
sudo yum -y install docker-ce
3、设置镜像加速:
sudo curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://04be47cf.m.daocloud.io
查看刚刚设置的加速地址
4、启动docker
sudo systemctl start docker
5、docker常用命令:
docker info
docker -v
docker ps -a
docker images
docker push
docker pull
docker restart
docker start
docker stop
docker run
docker logs
docker top
docker rm
docker exec
标签:x86 logs ffffff otool emc target 51cto lan -o
原文地址:http://blog.51cto.com/1576349/2062046