参考安装地址
https://github.com/docker/docker.github.io/blob/master/compose/install.md
安装步骤
1.下载
sudo curl -L --fail https://github.com/docker/compose/releases/download/1.25.1/run.sh -o /usr/local/bin/docker-compose
2.授予权限
chmod +x /usr/local/bin/docker-compose
3.查看版本
docker-compose --version
Docker Compose使用步骤
编写Dockerfile编写docker-compose.ymldocker-compose相关命令
构建镜像启动容器停止容器删除容器
转载请注明原文地址:https://blackberry.8miu.com/read-34866.html