Skip to content

Update examples/cpu/inference/python/llm/README.md#554

Open
linjoe3 wants to merge 1 commit intointel:mainfrom
linjoe3:patch-1
Open

Update examples/cpu/inference/python/llm/README.md#554
linjoe3 wants to merge 1 commit intointel:mainfrom
linjoe3:patch-1

Conversation

@linjoe3
Copy link

@linjoe3 linjoe3 commented Mar 5, 2024

docker build behind a corporate HTTP proxy makes curl failure so add more explain when user environment needs proxy.

215.5 curl: (28) Failed to connect to repo.anaconda.com port 443 after 214840 ms: Connection timed out ------
Dockerfile:39

38 |
39 | >>> RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh &&
40 | >>> bash miniconda.sh -b -p ./miniconda3 &&
41 | >>> rm miniconda.sh &&
42 | >>> echo "source ~/miniconda3/bin/activate" >> ./.bashrc
43 |

docker build behind a corporate HTTP proxy makes curl failure so add more explain when user environment needs proxy.

215.5 curl: (28) Failed to connect to repo.anaconda.com port 443 after 214840 ms: Connection timed out
------
Dockerfile:39
--------------------
  38 |
  39 | >>> RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh  && \
  40 | >>>     bash miniconda.sh -b -p ./miniconda3 && \
  41 | >>>     rm miniconda.sh && \
  42 | >>>     echo "source ~/miniconda3/bin/activate" >> ./.bashrc
  43 |
--------------------
@jingxu10
Copy link
Contributor

Please follow the proxy configuration instruction of docker.
https://docs.docker.com/engine/cli/proxy/#configure-the-docker-client
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants