このコンテンツは選択した言語では利用できません。

Chapter 2. Configure proxy settings on macOS and Windows


You can configure proxy settings for Red Hat build of Podman Desktop on both macOS and Windows machines. The configuration procedure remains the same on both machines.

Prerequisites

  • You have a proxy URL in the format: <your.proxy.tld:port>.
  • Optional: You have proxy Certificate Authorities (CAs) in Privacy-Enhanced Mail (PEM) format.

Procedure

  1. Set up your proxy configuration mode:

    1. Go to Settings > Proxy from the left navigation pane.
    2. Select a proxy configuration: System, Manual, or Disabled.

      If you select Manual, configure your proxy URLs and bypass proxy settings details. The other two modes require no additional configuration.

      Figure 2.1. Set your proxy configuration mode

      proxy settings
    3. Click Update. A notification opens.
    4. Click OK.
  2. Optional: To use a custom CA in your proxy, perform the following steps:

    1. Store your proxy CA in PEM format in the proxy_ca.pem file.
    2. Copy the certificate to the Podman machine:

      $ cat proxy_ca.pem | podman machine ssh <machine_name> "cat > proxy_ca.pem"
    3. Start an interactive session with the Podman machine:

      $ podman machine ssh <machine_name>
    4. Run the following command to copy the certificate to the Podman machine:

      $ sudo cp proxy_ca.pem /etc/pki/ca-trust/source/anchors/
    5. Run the following command to add your proxy certificate to the trust store:

      $ sudo update-ca-trust
  3. To use a proxy in your containers, perform the following steps:

    1. Start an interactive session with the Podman machine:

      $ podman machine ssh <machine_name>
    2. Open the containers.conf file.

      Note

      To know about the containers.conf file location, refer to the Control network traffic flow with proxy section.

    3. Set the value of the proxy environment variables to pass into the containers in the file:

      [containers]
      http_proxy = true
      env = ["http_proxy=<your.proxy.tld:port>", "https_proxy=<your.proxy.tld:port>"]
  4. Go to the Settings > Resources page, and restart the Podman machine.

Verification

  1. Go to Images from the left navigation pane.
  2. Click Pull an image.

    • Image to Pull: Enter an image name, such as quay.io/podman/hello.
  3. Click Pull image. Red Hat build of Podman Desktop reports Download complete after a while.
  4. Click Done.

You can access the image from an external repository.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る