Docker compose安装使用
程序员文章站
2022-05-15 13:10:18
...
目录
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