hostnamectl set-hostname clusterserver1.rmohan.com
ifconfig -a
vi /etc/selinux/config
systemctl disable firewalld
systemctl stop firewalld
vi /etc/hosts
yum install wget
yum update
yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum-config-manager –enable docker-ce-edge
yum list docker-ce –showduplicates | sort -r
yum install docker-ce
systemctl enable docker
systemctl start docker
Uninstall Docker CE
- Uninstall the Docker package:
$yum remove docker-ce
- Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes:
$ rm -rf /var/lib/docker
Recent Comments