docker-compose安装与部署项目

安装:html

1.curl安装慢的问题web

解决:改用pip安装,须要先安装pip相关,参照:docker

http://www.javashuo.com/article/p-mzheuvmv-c.htmlbash

2.pip安装依赖库requests失败问题curl

Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accue which files belong to it which would lead to only a partial uninstall.ui

解决:url

https://blog.csdn.net/hillwooda/article/details/80027976.net

http://blog.51cto.com/lizhiyuan/2121489htm

3.安装成功后执行docker-compose version失败的状况blog

docker-compos无可执行权限:

-bash: /usr/local/bin/docker-compose: Permission denied

增长可执行权限后,仍然:

[74734] Cannot open self /usr/local/bin/docker-compose or archive /usr/local/bin/docke

解决:

http://www.cnblogs.com/sixiweb/p/7048914.html

操做:

[root@localhost bin]# mv docker-compose-Linux-x86_64 docker-compose
[root@localhost bin]# chmod +x /usr/local/bin/docker-compose
[root@localhost bin]# docker-compose version
docker-compose version 1.14.0-rc2, build 24dae73
docker-py version: 2.3.0
CPython version: 2.7.13
OpenSSL version: OpenSSL 1.0.1t 3 May 2016

 

部署项目:

http://www.javashuo.com/article/p-psjeaiou-bb.html

https://blog.csdn.net/cmzhuang/article/details/80363251

https://blog.csdn.net/u010785672/article/details/54861896

相关文章
相关标签/搜索