Open ilyafreer opened 1 year ago
This problem has happened before https://github.com/docker/for-mac/issues/5322
I resolved this bug through disabled kubernetes, turn on legacy container and fix /etc/hosts
replace 127.0.0.1 kubernetes.docker.internal to 127.0.0.1 host.docker.internal
Result: connection from container success via vpn tunnel
curl -X POST -H "application/json" -d '{"generate new 5 phrases","separate":true}' http://192.168.0.100:8901/
<!doctype html>
<html lang=en>
....
/ # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.0
PRETTY_NAME="Alpine Linux v3.18"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
Description
Simple docker service
Try connect inside container to remote 192.168.0.100 via vpn tunnel is failed On host machine connected without problems. Previous docker desktop version works
Reproduce
Start simple service and try connect to remote server via ssh or vpn tunnel
Expected behavior
successful connection of the container to the remote server
docker version
docker info
Diagnostics ID
8E8CD293-C6B2-440C-A3A8-5495FCE25319/20230607214537
Additional Info
Apple M1 Pro Mac OS 13.3.1 (22E261)