Tuesday, August 27, 2019

Docker Compose - Install in Ubuntu

To install Docker, please refer to the previous blogpost:
https://sashankexpresstech.blogspot.com/2019/08/docker-install-on-ubuntu.html

Installing Docker Compose in Ubuntu Linux:


Step 1: Download Docker Compose from GitHub repository:
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Step 2:  Provide the execute permission:
sudo chmod +x /usr/local/bin/docker-compose

Step 3: Create a shortcut:
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose


Check the Installation:

$ docker-compose -version
docker-compose version 1.24.1, build 4667896b



1 comment: