-bash: docker-compose: command not found two solutions
-bash: docker-compose: command not found
two solutions
First, pip installation
1
2
3
apt-get python-pip //debian,ubuntu system
pip install --upgrade pip
pip install docker-compose
1
2
3
4
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
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
Check if the installation is successful
docker-compose -version
💘 相关文章
- -bash: docker-compose: command not found的两种解决方法
- -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
- Mac 系统docker 设置国内镜像加速的方法
- 使用docker构建基于nodejs编写的流行开源微博程序-Misskey
- 适用于Linux,MacOS,Unix 的优秀系统信息bash脚本
- ctop一款开源的docker容器监控工具