uname -s
uname -a
sunyuhua@sunyuhua-HKF-WXX:~$ uname -s
Linux
sunyuhua@sunyuhua-HKF-WXX:~$ uname -m
x86_64
检查自己的linux 版本下载对应的包
https://github.com/docker/compose/releases
docker-compose-linux-x86_64
sudo ln -s /home/sunyuhua/tools/docker-compose-linux-x86_64 /usr/local/bin/docker-compose
docker-compose version