I see 2 compose versions on my raspberry pi

Hi
I see 2 docker compose versions on my raspberry pi
this was my install:
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker ${USER} && logout
sudo apt-get install libffi-dev libssl-dev
sudo apt install python3-dev
sudo apt-get install -y python3 python3-pip
sudo pip3 install docker-compose

May I ask what’s this post is about?

As no question is asked, the assumption is that you are asking why two compose versions are installed?

The docker compose (v2.x) cli plugin is part of the installation made by the convenience script.

Additionally, you install the python3 based docker-compose (v1.x) version?

yes with the first install. can i remove this?

Please be more specific: remove what?

the docker-compose 1.x version

There is no harm in having both versions installed.

Those are the steps you used to install docker-compose v1:

Now you need to do the uninstallation in the opposite order:

sudo pip3 unistall docker-compose
sudo apt-get remove python3-dev libffi-dev libssl-dev

I would be cautious with deleting python3 and python3-pip as other packages might need it.

thank you very much.

I moved your topic to the “Open Source Project” / “Compose” Category, as it had nothing to do with “Dockerhub”.

Please mark the answer as solution, if it actually was the solution to your problem.