Skip to content

Docker Desktop ignores manual proxies #12714

Closed

Description

@dandrzejewski
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Actual behavior

Docker Desktop ignores manual proxy settings set through the UI.

Expected behavior

Docker Desktop should honor manual proxy settings set through the UI.

Information

  • Windows Version: 11, 21H2
  • Docker Desktop Version: 4.8.1
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

This is reproducible for me every time. The problem has happened for me in every version after 4.6.0.

Steps to reproduce the behavior

  1. Configure http and https proxies in Docker Desktop
  2. Try to pull an image
  3. Note that it fails.

This issue occurs for me in 4.8.1 and I had to roll all the way back to 4.6.0 to make this work.

Activity

  1. dandrzejewski commented on May 10, 2022

    @dandrzejewski
    Author

    Since this has been a long-standing issue, I'm happy to provide any other details as needed. I can move back up to 4.8.1 to do any testing you might need, but for now I've got to stick with 4.6.0 so I can get work done.

  2. StefanScherer commented on May 11, 2022

    @StefanScherer
    Member

    Thanks for the feedback. It's sad that you had to rollback to an older version. And thanks for your offer to help testing, this will help our team.
    With 4.8 we improved reading the OS level proxy settings and we plan to deprecate the manual proxy settings in the future.
    I'd like to get in touch with you to understand how you use proxies, why you need manual proxy settings. We can discuss here or in our roadmap ticket docker/roadmap#339 or a DM in our community Slack. Thank you.

  3. glindsay78 commented on May 11, 2022

    @glindsay78

    Having the same issue and had to downgrade to 4.7.1 for it to work. Happy to help also Stefan if you need another guinea pig. thanks for looking into this.

  4. laurazard commented on May 11, 2022

    @laurazard
    Member

    Hi @dandrzejewski, thanks for submitting this issue! I think we've identified the problem, could you test this build and let me know if the issue is resolved? @glindsay78 same for you :)

    Thanks!

  5. paulchambers commented on May 11, 2022

    @paulchambers

    Same issue here and the test build has resolved it and is honoring the manual proxy settings again.

    4.7.1 and 4.9.0 both working as expected. 4.8.1 broken.

  6. pfeigl commented on May 11, 2022

    @pfeigl

    With 4.8 we improved reading the OS level proxy settings and we plan to deprecate the manual proxy settings in the future.

    This is great news. Please do this in a way that you actually realize, when the proxy settings change. We for example (and I guess we are not the only ones) have regularlary changing proxy settings via the day, whenever we connect to customer VPNs which enforce different proxy settings via auto-detection.

    Browsers for example handle this very nicely after a few seconds of beeing connected to the new network and having new proxy settings.

  7. dandrzejewski commented on May 11, 2022

    @dandrzejewski
    Author

    we plan to deprecate the manual proxy settings in the future

    I would caution against this, some of us work in complex proxy environments and it may be necessary to manually set proxies at various times.

    I'll test the provided build shortly and provide feedback - thanks for the quick response to this!

  8. laurazard commented on May 11, 2022

    @laurazard
    Member

    Thanks for the feedback @dandrzejewski. If you care, there's a roadmap item here where you can leave further feedback that we are looking at.

  9. dandrzejewski commented on May 11, 2022

    @dandrzejewski
    Author

    Everything seems to be working except the extensions marketplace - that does not appear to load.

  10. glindsay78 commented on May 11, 2022

    @glindsay78

    Hi @dandrzejewski, thanks for submitting this issue! I think we've identified the problem, could you test this build and let me know if the issue is resolved? @glindsay78 same for you :)

    Thanks!

    Yes this build is working for me. Thanks!

  11. StefanScherer commented on May 12, 2022

    @StefanScherer
    Member

    @dandrzejewski Thanks for raising this. Indeed, we encountered an issue that the extensions marketplace isn't reachable behind a proxy at the moment. The team is working on it.

  12. awynnejo commented on May 18, 2022

    @awynnejo

    Same issue here, 4.8.1 broken but 4.9.0 has resolved it.

  13. mat007 commented on May 18, 2022

    @mat007
    Member

    Hi, we have just released Docker Desktop 4.8.2 with a fix. Thanks!

  14. docker-robott commented on Jun 17, 2022

    @docker-robott
    Collaborator

    Closed issues are locked after 30 days of inactivity.
    This helps our team focus on active issues.

    If you have found a problem that seems similar to this, please open a new issue.

    Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
    /lifecycle locked

  15. locked and limited conversation to collaborators on Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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