gpt4 book ai didi

linux - 第一次做 docker build 遇到了这个巨大的错误

转载 作者:太空宇宙 更新时间:2023-11-04 12:35:07 24 4
gpt4 key购买 nike

我正在关注 this django-docker tutorial

我在 Centos 7 中运行命令:

docker build -t <insertyournamehere>/django-docker .

然后遇到了这个巨大的错误信息:

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Mwo_hq/pycparser/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-giTR8X-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Mwo_hq/pycparser/
/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.

不安全平台警告

任何帮助将不胜感激,因为我是新手!

最佳答案

Docker 安装不正确。结案。

关于linux - 第一次做 docker build 遇到了这个巨大的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42129244/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com