一、在服务器上敲下面命令即可,将需要的版本号修改一下即可
  sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
05-11 11:15