不用改目录直接拷贝命令执行即可
docker-compose 部署
https://docs.docker.com/compose/install/
- 下载docker-compose
curl -L "https://github.com/docker/compose/releases/download/1.28.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- 修改执行权限
chmod +x /usr/local/bin/docker-compose
测试
docker-compose --version