Can not uninstall docker-compose – Stack Overflow

Sorry if this is obvious, I’m new to docker.
I forgot how I installed docker-compose, so I tried:

$ which docker-compose

I tried to uninstall it via snap:

$ sudo snap remove docker-compose
snap "docker-compose" is not installed
$ sudo rm -r docker-compose
rm: cannot remove 'docker-compose': No such file or directory

But here’s the problem:

docker-compose --version
docker-compose version 1.25.5, build unknown

It seems that docker-compose is still somewhere in the system, any ideas?

Read more here: Source link