INSTALLATION
-
Log in to the two newly created machines using SSH and install Docker and Docker Compose using the commands below:
-
sudo su
-
yum update
-
yum install docker
-
curl -L "https://github.com/docker/compose/releases/
download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o docker-compose -
chmod +x docker-compose
-
mv docker-compose /usr/bin/
-
-
Verification: Execute the commands below to verify the Docker and Docker Compose versions:
-
docker version
-
docker-compose version
-