Question #7107   Submitted by Answiki on 12/17/2022 at 07:31:35 PM UTC

How to install Docker Compose on Ubuntu 22.04?

Answer   Submitted by Answiki on 12/17/2022 at 07:35:47 PM UTC

To install the most updated version of Docker Compose, run the following commands:

mkdir -p ~/.docker/cli-plugins/

At the time of this writing, the most current stable version is 2.14.1

curl -SL https://github.com/docker/compose/releases/download/v2.14.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose

Set permissions so that docker compose is executable:

chmod +x ~/.docker/cli-plugins/docker-compose

Check you installation with the following command:

docker compose version




3 events in history
Answer by Answiki on 12/17/2022 at 07:35:47 PM

To install the most updated version of Docker Compose, run the following commands:

mkdir -p ~/.docker/cli-plugins/

At the time of this writing, the most current stable version is 2.14.1

curl -SL https://github.com/docker/compose/releases/download/v2.14.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose

Set permissions so that docker compose is executable:

chmod +x ~/.docker/cli-plugins/docker-compose

Check you installation with the following command:

docker compose version




Answer by Answiki on 12/17/2022 at 07:35:38 PM

To install the most uptaded version of Docker Compose, run the following commands:


mkdir -p ~/.docker/cli-plugins/

At the time of this writing, the most current stable version is 2.14.1

curl -SL https://github.com/docker/compose/releases/download/v2.14.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose

Set permissions so that docker compose is executable:

chmod +x ~/.docker/cli-plugins/docker-compose

Check you installation with the following command:

docker compose version




Question by Answiki 12/17/2022 at 07:31:35 PM
How to install Docker Compose on Ubuntu 22.04?

Icons proudly provided by Friconix.