I used to update mailcow with docker compose (v1) using the following commands:
./update.sh
sudo docker-compose ps
to check if everything is up, if yes, I run:
docker system prune
to remove old images.
I upgraded to docker compose (v2) and I no longer can run sudo docker-compose ps
to check if everything is up before I remove the images. Whenever I run sudo docker-compose ps
I get sudo: docker-compose: command not found
. What similar command I should use after upgrading to docker compose (v2)
?