Install Docker on CentOs 7

### Install Docker on CentOs ###
# yum -y update
# yum -y install yum-utils docker-engine
# yum-config-manager \
–add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
# yum-config-manager –enable docker-ce-nightly
# yum-config-manager –enable docker-ce-test
# yum-config-manager –disable docker-ce-nightly
# yum install docker-ce docker-ce-cli containerd.io
# systemctl start docker
# systemctl enable docker
# systemctl status docker
# docker -v
# sudo curl -L “https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
# sudo chmod +x /usr/local/bin/docker-compose
# sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
# docker-compose –version
# docker network create -d bridge docker-net
### Uninstallation Docker-compose on CentOs ###
# sudo rm /usr/local/bin/docker-compose
# pip uninstall docker-compose
###Uninstall Docker Engine ###
# sudo yum remove docker-ce docker-ce-cli containerd.io
# sudo rm -rf /var/lib/docker