Tag: 泊坞窗机器

当networking更换Docker for Windows时,无法从主机连接Docker

当networking/ ip从办公室转移到家时,我无法连接到docker集装箱。 但是和localhost或127.0.0.1一样 我正在连接到VPN以连接到数据库。 root@1c970ed5cd64:/etc# curl http://localhost:8090/admin/health_check/all {“health”:“passed”}root@1c970ed5cd64:/etc# curl http://192.168.0.103:8090/admin/health_check/all curl: (7) Failed to connect to 192.168.0.103 port 8090: Connection refused 当我再次安装docker,一切正常。 我创build了docker-machine,外部虚拟交换机指向wifi,然后用主机IP运行容器。 相同的工作在不同的机器上。 下面我没有看到DOCKER_HOST IP当我检查networking PS C:\Users\KH1046> docker network inspect -v 6fad6cc07d43 [ { "Name": "bridge", "Id": "6fad6cc07d43f576ca4921559346a4919ea6ffd8172726adccb31b4ffaa23acd", "Created": "2017-08-12T18:07:33.2239814Z", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ […]