How To Install Docker Compose On Ubuntu-Update Docker Compose-Uninstall Docker Compose

0 Comment

How To Install Docker Compose on Ubuntu

Docker-Compose:

Docker compose is used to run multi-container docker applications, In docker compose to run these docker multi containers we use docker-compose.yml files. And by using this docker compose we can scale up the selected containers when required.

Prerequisite of docker compose is docker, So docker must be installed on your system.

You can check docker is installed or not by using docker info command or docker –version command

Or you can use docker info command

docker info

If you have not installed docker yet you can check the following link.

Install Docker Compose on Ubuntu

install docker compose by using below command

Set The Permissions:

Now you can check docker compose version with docker-compose version   command

Docker-Compose Version

now you can see above docker compose version is 1.22.0 now we can see how to update docker compose

Update Docker Compose:

to update docker compose to any version use below command

in the place of X mention your version number and run the command. it will update the docker compose version.

Ex:

curl -L https://github.com/docker/compose/releases/download/1.23.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

now check the docker composer with docker compose version command

so to update the docker compose use any version number in the place of X.

  • install docker compose ubuntu
  • docker compose install ubuntu 18.04
  • ubuntu install docker compose
  • install docker compose
  • docker compose install ubuntu
  • docker compose install ubuntu 16.04
[top]

Leave a Reply

Your email address will not be published. Required fields are marked *