specify ip address for docker for mac

前端 未结 1 1808
甜味超标
甜味超标 2021-02-06 00:23

I\'m using Docker for Mac Beta and it runs from spotlight.

Is there any way to run it from console or force to use any configuration file to specify ip

1条回答
  •  Happy的楠姐
    2021-02-06 00:47

    You can connect to the Docker alpine host via unix socket but I have not been able to figure out how to bridge to the network.

    The docs say:

    Unfortunately, due to limtations in OSX, we’re unable to route traffic to containers, and from containers back to the host.

    Because of the way networking is implemented in Docker for Mac, you cannot see a docker0 interface in OSX. This interface is actually within HyperKit.

    0 讨论(0)
提交回复
热议问题