1、docker 容器pip、git安装异常
错误信息:
git clone https://github.com/vllm-project/vllm.git
Cloning into ‘vllm’…
fatal: unable to access ‘https://github.com/vllm-project/vllm.git/’: Failed to connect to
127.0.0.1 port 10808: Connection refused
pip install vllm Looking
in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
WARNING: Retrying (Retry(total=4, connect=None, read=None,
redirect=None, status=None)) af ter connection broken by
‘ProxyError(‘Cannot connect to proxy.’,
NewConnectionError(’_vendor.urllib3.connection.HTTPSConnection object
at 0x7f26fe64fb50>: Failed to establish a new connection: [Errno 111]
Connection refused’)文章来源:https://www.toymoban.com/news/detail-686999.html
基本是代理问题:
解决方法(-env http_proxy= --env https_proxy= 设置docker容器运行代理为空):文章来源地址https://www.toymoban.com/news/detail-686999.html
docker run --env h
到了这里,关于docker 容器pip、git安装异常;容器内web对外端口ping不通的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!