Install Docker Package Kodekloud


Last week the Nautilus DevOps team met with the application development team and decided to containerize several of their applications. The DevOps team wants to do some testing per the following:

  1. Install docker-ce and docker-compose packages on App Server 3.

  2. Start docker service.


 Log in to app server 3 ( Mentioned in the question)

 ssh [email protected]

 Install docker-ce in centos

 curl -fsSL -o

 sudo sh

 Post Installation

 sudo groupadd docker 

 sudo usermod -aG docker $USER

 newgrp docker 
 sudo systemctl start docker 
 docker --version 
 docker ps



Docker Compose Insatll

sudo curl -L "$(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


Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


Post a Comment