在linux centos7 安装docker
介绍:Docker从1.13版本之后采用时间线的方式作为版本号,分为社区版CE和企业版EE。 社区版是免费提供给个人开发者和小型团体使用的,企业版会提供额外的收费服务,比如经过官方测试认证过的基础设施、容器、插件等。 社区版按照stable和edge两种方式发布,每个季度更新stable版本,如17.06,17.09;每个月份更新edge版本,如17.09,17.10。 *************************************************************** 普通用户获取root 权限 ls -l /etc/sudoers chmod 750 /etc/sudoers vi /etc/sudoers 修改sudoers内容 ###Allow root to run any commands anywhere root ALL=(ALL) ALL xsh ALL=(ALL) ALL :wq ************************************************************** 1、Docker要求在centos系统内核高于3.10 uname -r #查看当前的内核版本3.10.0-957.el7.x86_64 2、使用root权限 登录Centos 确保yum包更新到最新 sudo yum update 3