How does docker Set up Agents under mac

  docker, question
  • Docker is the docker for mac used.

  • The local proxy port is 1080

  • Proxy I am using SpechtLite

The problem now is that although the agent port of docker can be set up, my agent is the local port 1080 of, which is written directly into docker. It accesses the local address in its virtual machine … If in the intranet is filled in, my agent will only listen to the local port 1080 of

So I would like to ask what methods can be used by docker to use my local agent?


  1. According to thisDocumentLi said that setting up the system agent docker will automatically use the agent to pull, but in fact, the agent is still not used when pulling.

Direct system proxy, proxy global traffic

There is a portal here. …

Here is a document …