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.

Sreekumar Kj
Sreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2010, where he writes about technology, philosophy, society and a bit about physics. He now runs a conversational AI company - DheeYantra - focusing his efforts to help businesses improve operational efficiency using digital employees powered by AI.