Installing docker on Linux.

780    Asked by CaroleThom in Devops , Asked on Nov 20, 2019
Answered by Carole Thom

 Let’s install docker on Cent OS 7.

log in to the base system i.e. cantos 7 and execute yum update -y to make sure all the existing packages are updated to latest release.

Adding yum repo,

vim /etc/yum.repos.d/docker_install.repo

Add below contents into the file -


 name=Docker Repository






Installing docker

yum install docker-engine -y

Start docker

service docker start

Your Answer


Parent Categories