CentOS7 安装docker
2016-08-29 16:23
267 查看
CentOS7 安装docker
1 检查CentOS版本,要求3.10以上[root@#localhost ~]# uname -r 3.10.0-327.el7.x86_64
2 更新yum
[root@#localhost ~]# yum update
3 添加yum源
[root@#localhost ~]# tee /etc/yum.repos.d/docker.repo <<-'EOF' > [dockerrepo] > name=Docker Repository > baseurl=https://yum.dockerproject.org/repo/main/centos/7/ > enabled=1 > gpgcheck=1 > gpgkey=https://yum.dockerproject.org/gpg > EOF
4 安装 docker
[root@#localhost ~]# yum install docker-engine
5 启动 docker
[root@#localhost ~]# systemctl start docker
6 验证 docker 是否安装成功
[root@#localhost ~]# docker run hello-world
相关文章推荐
- centos7安装docker
- centos7 安装docker
- centos7 docker 安装hadoop 2.7.2记录
- Centos7中安装docker
- CentOS7 安装Docker报错
- centos7主要特性 ---docker安装测试
- CentOS7上安装和使用Docker
- CentOS7安装docker 启动不了解决篇
- centos7安装docker
- centos7安装docker并设置开机启动
- Docker学习1 - CentOS7安装docker
- centos7安装docker
- Centos7下安装Docker1.8
- centos7抢先安装docker1.0
- 基于Centos7安装Docker-registry2.0
- CentOS7安装Docker,运行Nginx镜像、Centos镜像
- Centos7安装Docker 1.8总结
- docker centos7 安装ssh
- centos7 安装docker
- docker在centos7上安装私服镜像各种操蛋修复