0% found this document useful (0 votes)
39 views3 pages

Docker Compose

Docker can be installed on CentOS using yum. The steps are: 1. Add the Docker repo and install Docker CE, CLI and containerd. 2. Start the Docker service Docker Compose can also be installed by downloading the binary, making it executable, and checking the version.

Uploaded by

nithin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

Docker Compose

Docker can be installed on CentOS using yum. The steps are: 1. Add the Docker repo and install Docker CE, CLI and containerd. 2. Start the Docker service Docker Compose can also be installed by downloading the binary, making it executable, and checking the version.

Uploaded by

nithin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

DOCKER

Docker installing steps

• 1 #sudo yum install -y yum-utils


• 2 #sudo yum-config-manager \
• --add-repo \
• https://download.docker.com/linux/centos/docker-ce.repo
• ################################################################################################################
#
• 3 #sudo yum install docker-ce docker-ce-cli containerd.io (it will install docker latest version)

• if you want to install specific version then only..execute the following steps else skip below and goto step 4.

• #yum list docker-ce --showduplicates | sort -r


• #sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io

• if you want to install docker-ce-18.09.1 version then command will be

• eg: sudo yum install docker-ce-18.09.1 docker-ce-cli-18.09.1 containerd.io


• ##########################################################################################################

• 4 #sudo systemctl start docker


Docker compose
• ##########

• Docker compose installation.

• check for the version you want install....here 1.23.2 is the version.pls change if requied.

• #sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-


compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
• #sudo chmod +x /usr/local/bin/docker-compose
• #docker-compose --version

You might also like