如何在网桥模式下使用docker?

如何在网桥模式下使用docker?,docker,Docker,我正在Windows计算机上运行Docker Quickstart终端 当Docker VM设置为仅使用主机适配器(默认网络设置)时,我得到: 到目前为止还不错,但当Docker VM设置为使用桥接适配器时,我得到: docker is configured to use the default machine with IP 192.168.5.92 For help getting started, check out the docs at https://docs.docker.com

我正在Windows计算机上运行Docker Quickstart终端

当Docker VM设置为仅使用主机适配器(默认网络设置)时,我得到:

到目前为止还不错,但当Docker VM设置为使用桥接适配器时,我得到:

docker is configured to use the default machine with IP 192.168.5.92
For help getting started, check out the docs at https://docs.docker.com

XXX MINGW64 ~
$ docker ps
An error occurred trying to connect: Get http://localhost:2375/v1.21/containers/
json: dial tcp 127.0.0.1:2375: ConnectEx tcp: 
解决方法是通过ssh连接到Docker VM(在我的例子中是192.168.5.92),但是我失去了从终端访问本地机器的权限

使用桥接适配器时,是否有方法将Docker Quickstart终端指向Docker VM的右侧IP

docker is configured to use the default machine with IP 192.168.5.92
For help getting started, check out the docs at https://docs.docker.com

XXX MINGW64 ~
$ docker ps
An error occurred trying to connect: Get http://localhost:2375/v1.21/containers/
json: dial tcp 127.0.0.1:2375: ConnectEx tcp: