After upgrade docker desktop, docker-compose command can not be found.
But look at docker information the below, docker compose should be there.
which docker
/usr/local/bin/docker
cd /usr/local/bin/docker
//see a symoblic link
docker-compose -> /Applications/Docker.app/Contents/Resources/bin/docker-compose/docker-compose
//go to /Applications/Docker.app/Contents/Resources/bin/docker-compose and not find docker-compose
//ha ha directory structure changed in this new version of docker desktop
//to fix, in /usr/local/bin
rm docker-compose
ln -s /Applications/Docker.app/Contents/Resources/bin/docker-compose docker-compose