-bash: docker-compose: command not found two solutions

By admin at 2020-04-02 02:33 • 118次点击
admin


-bash: docker-compose: command not foundtwo solutions

First, pip installation

apt-get python-pip //debian,ubuntu system
pip install --upgrade pip
pip install docker-compose
yum -y install epel-release  //centos,fedora system
 yum -y install python-pip
pip install --upgrade pip
pip install docker-compose

two, the official one-click command installation

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

Check if the installation is successful

docker-compose -version



也许我的文章解决了你的问题,如果没有那很抱歉,
真诚希望您能把本站开启广告白名单,谢谢您~
有任何问题请联系vpslala#qq.com




docker, solutions, command, bash, compose


目前尚无回复
登录 后发表评论