Steps to Install docker-compose in Linux

  1. visit the GitHub repo that contains all the releases HwgeERE. Copy the link to the latest release for Linux

  2. Create a folder called bin

mkdir bin
  1. Navigate to the folder and install docker-compose
cd /bin
wget <docker-compose> -O docker-compose
  1. After the download is complete, change it to an executable file
chmod +x docker-compose
  1. Edit the path variable so docker-compose can be run from anywhere
nano .bashrc
  1. scroll down to the end and add the following command:
export PATH="${HOME}/bin:${PATH}"
  1. Finally, write the following command to logout and log in:
source .bashrc

Happy installing!!