安装过程及如何验证docker-compose安装成功
+ 步骤1:
通过运行 curl 从GitHub上进行安装下载
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- 步骤2:
提交执行命令
sudo chmod +x /usr/local/bin/docker-compose
- 步骤3:
测试是否安装正常
docker-compose --version
docker-compose version 1.24.0, build 1110ad01