Docker compose安装使用

目录

 

1,什么是Docker compose

2,源码地址

3,安装步骤

1st 获取docker-compose工具

2nd 更改权限

3rd 查看版本

4th 卸载docker compose


1,什么是Docker compose

2,源码地址

传送门

3,安装步骤

1st 获取docker-compose工具

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

2nd 更改权限

sudo chmod +x /usr/local/bin/docker-compose

3rd 查看版本

docker compose -v

4th 卸载docker compose

sudo rm /usr/local/bin/docker-compose

 

你可能感兴趣的:(docker,docker)