setup docker compose ubuntu code example

Example 1: instalar docker compose ubuntu

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

Example 2: docker compose install ubuntu

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

Example 3: docker compose latest version install ubuntu

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