docker-compose安装

目录

docker-compose 安装

# 需要python3.7环境:
参考python3.7安装:https://www.cnblogs.com/zhangchaocoming/p/15024065.html
在编译pyton3.7时报错:
1.ModuleNotFoundError: No module named '_ctypes'的解决办法
	yum install libffi-devel -y

# 安装docker-compose
pip3 install docker-compose
安装时报错:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gFUWrm/pip/
	find / -name *subpro*.egg-info
	find / -name *subpro*.egg-info |xargs rm -rf

pip3 install docker-compose

验证一下docker-compose版本,如下图:

docker-compose安装

上一篇:树上染色


下一篇:123