B
B
bagos2021-04-14 21:40:40
Docker
bagos, 2021-04-14 21:40:40

How to forward ports for HyperKit in macos?

Hello everyone, the tested container works fine in docker on Linux, when I lift the same container on mac, then packages are lost somewhere. As I understand it, the problem is that on a poppy, the docker works through a virtual machine, and the docker0 interface is missing. And when there is a request from the outside, the packets do not reach the container, how can I forward the ports (I start the container with ports -p 8088-8090:8088-8090 -p 80:80, bridge network)?
machine ip eth0 inet 192.168.1.120
VM ip eth0 inet addr:192.168.65.3
services1 192.168.65.4
docker bridge 172.17.0.0/16

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question