<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>HTTP代理 on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek002/tags/HTTP%E4%BB%A3%E7%90%86/</link>
    <description>Recent content in HTTP代理 on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 29 Oct 2024 07:52:06 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek002/tags/HTTP%E4%BB%A3%E7%90%86/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Docker中设置HTTP代理的方法</title>
      <link>https://index.zshipu.com/geek002/post/202410/Docker%E4%B8%AD%E8%AE%BE%E7%BD%AEHTTP%E4%BB%A3%E7%90%86%E7%9A%84%E6%96%B9%E6%B3%95--%E7%9F%A5%E8%AF%86%E9%93%BA/</link>
      <pubDate>Tue, 29 Oct 2024 07:52:06 +0000</pubDate>
      <guid>https://index.zshipu.com/geek002/post/202410/Docker%E4%B8%AD%E8%AE%BE%E7%BD%AEHTTP%E4%BB%A3%E7%90%86%E7%9A%84%E6%96%B9%E6%B3%95--%E7%9F%A5%E8%AF%86%E9%93%BA/</guid>
      <description>如果你需要在 Docker 中设置 HTTP 代理，可以通过设置环境变量来实现。以下是设置代理的步骤： 设置环境变量：在你的 shell 会话中设置 HTTP_PROXY 和 HTTPS_PROXY 环境变量。例如： 1 2 export HTTP_PROXY=&amp;#34;http://192.168.99.188:1080&amp;#34; export HTTPS_PROXY=&amp;#34;http://192.168.99.188:1080&amp;#34; 如果你还需要设置 SOCKS 代理，可以设置 ALL_PROXY 环境变量： 1 export ALL_PROXY=&amp;#34;socks5://192.168.99.188:1080&amp;#34; 配置 Docker 服务以自动使用代理设置 如果你希望 Docker 服务在启动时自动应用代理设置，你需要将相应的环</description>
    </item>
  </channel>
</rss>
