internet-pi icon indicating copy to clipboard operation
internet-pi copied to clipboard

Ubuntu 20.03 - Docker CLI /usr/bin/docker has the compose plugin with version 2.3.3; need version 2.18.0 or later

Open apainter2 opened this issue 5 months ago • 0 comments

When I execute ansible-playbook main.yml, I get the following error, but I am running the following docker and docker compose versions:

Docker version 27.2.1, build 9e34c9b

Docker Compose version v2.3.3

When I run apt-get upgrade docker-compse-plugin, I get docker-compose-plugin is already the newest version (2.29.2-1~ubuntu.22.04~jammy)

Any ideas how I get docker compose updated, the packages came directly from the docker repo, not ubuntus.

docker-compose-plugin:
  Installed: 2.29.2-1~ubuntu.22.04~jammy
  Candidate: 2.29.2-1~ubuntu.22.04~jammy
  Version table:
 *** 2.29.2-1~ubuntu.22.04~jammy 500
        500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
        100 /var/lib/dpkg/status
TASK [Ensure internet-monitoring environment is running.] *******************************************************************************************************************************************************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Docker CLI /usr/bin/docker has the compose plugin with version 2.3.3; need version 2.18.0 or later"}

PLAY RECAP ******************************************************************************************************************************************************************************************************************************************************************************************************************
127.0.0.1                  : ok=10   changed=1    unreachable=0    failed=1    skipped=8    rescued=0    ignored=0

apainter2 avatar Sep 09 '24 21:09 apainter2