Hi, I’ve upgraded docker-compose-plugin but somehow docker compose version shows me an older version
>sudo apt-get install docker-compose-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
docker-compose-plugin is already the newest version (2.28.1-1~ubuntu.22.04~jammy).
docker compose version
Docker Compose version v2.13.0
Restart service / reboot either doesn’t help.
Am I missing something?
Docker Compose for all users on your system, replace ~/.docker/cli-plugins with /usr/local/lib/docker/cli-plugins.
Docker Desktop comes with Docker Compose so it will probably be in .~/.docker/cli-plugins.
APT will not instal files in your home. docker info can show where the plugins are. If you have multiple compose plugins in different folders one can override the other.
Was this ever fixed, I’m having the same problem but a year later
The problem I have is that docker compose version says there is no such command
When I try to find it with docker info | grep docker-compose it comes up empty as well
I had already removed it from /usr/local/lib/docker/cli-plugins but also from the libexec path as well
Any assistance would be appreciated
This topic is in the “Docker Desktop” category. Are you also using Docker dEsktop on Linux? I have no Desktop linux to test currently, but on other platforms the default compose is still in the fodler I mentioned here:
So that is where you should look for the compose plugin. Is there anything?