在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):wojas/docker-mac-network开源软件地址(OpenSource Url):https://github.com/wojas/docker-mac-network开源编程语言(OpenSource Language):Shell 100.0%开源软件介绍(OpenSource Introduction):This solution allows you to access your Docker for Mac's internal networks directly from your macOS host machine, using OpenVPN. QuickstartTo access your Docker networks:
You will now be able to access the internal Docker networks from macOS. Implementation notesThe Compose configuration consists of two services, both based on the tiny Alpine Linux distribution. openvpnThe OpenVPN image used is kylemanna/openvpn. Both server-side and client-side configuration are automatically generated by This service runs on TCP port 1194 using host networking, which means it has access to all Docker networks in the host VM. Only the The OpenVPN configuration ( proxySince containers running in host networking mode in Docker for Mac cannot bind ports to make them accessible from macOS, we need an extra TCP proxy. This image uses socat to forward port 13194 to the OpenVPN container. Tips
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论