I followed below steps on centos 7 machine to install docker but it says nothing to do and when I run docker command it says that command not found.I followed below steps on centos 7 machine to install docker but it says nothing to do and when I run docker command it says that command not found.
**sudo yum check-update
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker**
在其他一些机器上,同样的命令工作,但它有一些奇怪的行为在这台机器上。
运行以下步骤解决了这个问题。
Some how firewall started creating problem , so I had to check the internet connection as below: curl --location-trusted --ntlm --user "xyz" www.google.com 输入密码。
yum install http:/mirror.centos.orgcentos7extrasx86_64Packagescontainer-selinux-2.107-3.el7.noarch.rpm。
yum -y install docker-ce