How to install Docker Compose on Ubuntu 18.04 LTS

Here’s how to install docker-compose on Ubuntu LTS :

Open terminal and run these commands

[bash]

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

sudo chmod +x /usr/local/bin/docker-compose

[/bash]

Now verify installation

[bash]

docker-compose –version

[/bash]

This should show the version of docker compose that was installed.

Kj
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.

Leave a Comment

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