docker-compose 安装方法

github 项目地址

https://github.com/docker/compose/releases

docker-compose 下载链接:https://github-production-release-asset-2e65be.s3.amazonaws.com/15045751/67742200-f31f-11e8-947e-bd56efcd8886?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181227T004805Z&X-Amz-Expires=300&X-Amz-Signature=ffbc465475b9eaae504a1437d3cf1638fcd8639d889956fc3e7f82e51016c8f9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddocker-compose-Linux-x86_64&response-content-type=application%2Foctet-stream

下载完成后把docker-compose-Linux-x68_64 改成 docker-compose

sudo mv docker-compose-Linux-x86_64 docker-compose

添加可执行权限

chmod +x docker-compose

复制docker-compose 到 /usr/local/bin

sudo cp -r docker-compose /usr/local/bin

查看版本:

sudo docker-compose version

zabbix官网安装方法

sudo apt-get -y install  curl

curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

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

转载于:https://www.cnblogs.com/MeiCheng/p/10095889.html

你可能感兴趣的:(docker-compose 安装方法)