<< PREVIOUS

 

 

INSTALLATION

  1. Log in to the two newly created machines using SSH and install Docker and Docker Compose using the commands below:

    1. sudo su

       

    2. yum update

       

    3. yum install docker

       

    4. curl -L "https://github.com/docker/compose/releases/
      download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o docker-compose

       

    5. chmod +x docker-compose

       

       

    6. mv docker-compose /usr/bin/

       

       

  2. Verification: Execute the commands below to verify the Docker and Docker Compose versions:

    1. docker version

       

       

    2. docker-compose version

       

       

 

<< PREVIOUS