Skip to content

Proxy configuration propagation doesn't work. #3676

@asakaxgit

Description

@asakaxgit
  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

After setting proxies on Settings GUI (and restart), containers have environment variables related to proxy (ex. http_proxy).

Actual behavior

No proxy related environment variables was settled in a container.
According to the documentation(https://docs.docker.com/docker-for-windows/), my proxy settings propagate into the containers.

Information

  • Windows Version: 10.0.17763.379
  • Docker for Windows Version: 2.0.3.0 (31778)

Steps to reproduce the behavior

  1. Setting "Manual proxy configuration" is on
  2. "Web Server(HTTP)" to http://blahblah:1234.
  3. Then click apply,
  4. Restart will begin.
  5. After docker's launch. "docker run alpine env" on command-line shows below
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=42d5ee4d97f0 HOME=/root
    No proxy related environment variables are shown!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions