How To Install Docker-Compose In Ubuntu

On Linux, you can download the Docker Compose binary from the Github Repository.

1.Run below command to download the current stable release of Docker Compose:

user@computer$ sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

2. Apply executable permissions to the binary:

user@computer$ sudo chmod +x /usr/local/bin/docker-compose

3. Link the downloaded file to binary system.

user@computer$ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

4. Test the installation Run command:

user@computer$ docker-compose --version

and output will like below.

docker-compose version 1.26.2, build 1110ad01

We have installed docker-compose successfully.

 

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

View all posts by AmritMatti →

Leave a Reply

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