安装完docker compose怎么都打不出来版本,找到这个教程
https://askubuntu.com/questions/1396689/docker-compose-cant-execute-command-docker-compose-not-found
才发现
Docker Compose V1 用 docker-compose
Docker Compose V2 用 docker compose
如果实在想在v2用v1命令:alias docker-compose='docker compose'