我的服务器信息为
Linux ecs-1bc7-0001 4.19.90-17.5.ky10.aarch64 #1 SMP Fri Aug 7
13:35:33 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
步骤
- 到官网下载离线包 wget https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-linux-aarch64
- 将离线包放入指定目录:mv docker-compose-linux-aarch64 /usr/local/bin/docker-compose
- 授权:sudo chmod +x /usr/local/bin/docker-compose
- 查看是否安装成功:docker-compose -v