Client version 1.21 is too old

Hi

I have following components:

OS:
Ubuntu 22.04.3 LTS
Docker: Docker version 25.0.3, build 4debf41
Docker-Compose: docker-compose version 1.26.0, build d4451659

Nevertheless I received folowing message after I started the command “docker-compose up”:

ERROR: client version 1.21 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version

I am using the full path to docker-compose 1.26 version “/usr/local/bin”, but it seems he is using a 1.21 docker-compose version.

root@uli-x360:/opt/hello-world-docker# /usr/local/bin/docker-compose up
ERROR: client version 1.21 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version
root@uli-x360:/opt/hello-world-docker# /usr/local/bin/docker-compose -v
docker-compose version 1.26.0, build d4451659
root@uli-x360:/opt/hello-world-docker#

Do you could give me a hint to solve this problem?

Thank you and regards,

Uli

docker-compose is discontinued. You need to switch to the compose docker cli plugin (which is probably already installed): docker compose

1 Like

How easy … yes, it works now.

Thank you