-bash: docker-compose: command not found的两种解决方法
-bash: docker-compose: command not found
的两种解决方法
第一种,pip安装
1
2
3
apt-get python-pip //debian,ubuntu系统
pip install --upgrade pip
pip install docker-compose
1
2
3
4
yum -y install epel-release
yum -y install python-pip
pip install --upgrade pip
pip install docker-compose
第二种,官方一键命令安装
1
2
3
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
检查安安装是否成功
docker-compose -version
💘 相关文章
- -bash: docker-compose: command not found two solutions
- -bash: dig: command not found的解决方法
- -bash: dig: command not found solution
- -bash: crontab: command not found ubuntu问题
- bash: rsync: command not found解决方法
- Docker command all
- brew cask "Error: Unknown command: cask?"的解决方法
- 一款基于nodejs的docker应用app面板
- MySQL remote connection configuration method under docker container
- 两种方法对硬盘4K对齐检测