New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tunnel access is not working in docker container M1 #5374
Comments
mysql doesn't work properly on M1 because there isn't an arm64 build of it. In the documentation (https://docs.docker.com/docker-for-mac/apple-m1/) we suggest using mariadb instead. |
??? this is totaly diffrent issue ... i do not have problem with mysql container, I just can not connect to tunneled connection ip So when I create ssh tunnel connection in my macos to production mysql, for example to port 23306, then I do not have access to it from docker container, for example from php-fpm container I can not connect to production mysql with host host.docker.internal:23306 |
agreed, issue is connection refused when connecting to host process by port. docker.host.internal resolves to an IP, pings correctly from docker, but connection is refused on processes by port. with latest docker at time of writing. (.. .3) |
I have same problem here. I can't connect hosts 9200 port which connect to GCP compute engine via ssh tunneling. For work around, I make connection inside the container and it works. |
Same problem! When i look in /etc/hosts there is no added host for host.docker.internal so it is impossible to resolve.
Edit: i am still able to ping it so it seems the hostname is resolved. I can't connect to my app on port 53593 |
Hello! I'm running into the same issue on an M1 when using tunnels specifically. I'm tunneling to a postgres DB on FWIW, Also, this exact same configuration worked fine on my last Intel Macbook. Our entire |
Hi, I am also running the same issue. IS there any solution or patch found? |
Also seeing this issue now Reverse Proxying (Container) to Plex (Host). |
I am having this issue also, any updates? |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Hi,
on apple M1 Tech preview,
I trying to connect to mysql server with ssh tunnel, but it is not working.
When I trying connect to tunnel from container with
host.docker.internal
, I got connection refused.on another pc without M1 version it is working fine
The text was updated successfully, but these errors were encountered: