Lab Information
The Nautilus DevOps team aims to containerize various applications following a recent meeting with the application development team. They intend to conduct testing with the following steps:
Install docker-ce and docker compose packages on App Server 3.
Initiate the docker service.
Lab Solutions
โ
Part 1: Exact KodeKloud Lab Guidelines (Exam-Safe Mode)
๐ Step 0: Login to App Server 3
# From the jump host:
ssh banner@stapp03
#Password:
BigGr33n
๐ง Step 1: Install Docker CE and Docker Compose (RHEL/CentOS)
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
โถ๏ธ Step 2: Start Docker service
sudo systemctl start docker
๐ Step 3: Verification (MANDATORY)
systemctl status docker
docker --version
docker compose version
๐ง Part 2: Beginner-Friendly Explanation
๐ช Why these steps?
Jump host is only a gateway
You must SSH into stapp03 to do real work.
Docker isnโt in default repos
We add Dockerโs official repo so the system can find docker-ce.
Compose is now a plugin
docker-compose-plugin gives you:
docker compose
(โ ๏ธ not docker-compose)
Docker must be started
Installed โ running
Labs often fail if you forget this step.
๐ง Exam Memory Hook
Right server โ Install โ Start โ Verify
Top comments (0)