John November 23, 2025 0

Prerequisites

  • Docker needs to be installed1
  • If docker compose is already installed you may skip the next step.2
  • Curl needs to be installed3

How to install Docker compose

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

How to use Docker Compose

You need to create a docker-compose.yaml and navigate to the directory using cd

 sudo docker-compose up -d
  1. you can see if it is installed with docker –version ↩︎
  2. you can see if it is installed with docker-compose –version ↩︎
  3. You can install curl with sudo apt install curl ↩︎

Category: 

Leave a Comment