阿里云ECS服务器CentOS 7.2下部署Docker

1. 添加yum源
# yum install epel-release –y
# yum clean all
# yum update 官网没有这句 
# yum list

2. 安装并运行Docker
# yum install docker-io –y
# systemctl start docker

3. 检查安装结果
# docker info
  • 出现如下信息表示安装启动成功
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Registries: docker.io (secure)

参考文献
  • ECS上搭建Docker(CentOS7)

你可能感兴趣的:(阿里云ECS服务器CentOS 7.2下部署Docker)