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
Docker desktop 3.3.1 cannot connect to exposed ports #5610
Comments
|
@sptrakesh thanks for your report. Could you provide a small repro example which I could use to investigate? |
|
Here is a simple stack file that stopped working when I had upgraded to 3.3.1. Could not access service on port 2000... |
|
I can also reproduce the issue on some machines with: On success the output of Whereas some machines produce: One of the machines was fixed by leaving and re-initializing the swarm, but this has not been universally successful. |
|
I had tried re-initialising the swarm, but with no effect. |
|
Thanks for the extra info. If it's an intermittent problem or only affects some machines, then it might be caused by a bug in the
Note that neither of these builds have been notarized. If it still doesn't work, could you reproduce the problem, upload a diagnostics report and quote the ID here? Thanks in advance! |
|
This is happening to me as well. And apparently it's not intermittent. Since this morning it's always happening. |
|
@djs55 I tried with the latest developer build as suggested but the issue is still there Here's the diagnostic ID for my report: EC234789-274A-4136-927F-AD7DF63EC863/20210423084007 |
|
I havethe same issue. using docker stack deploy --compose-file=docker-compose.yml db |
|
Anecdotally, it seems that several of my colleagues report NOT being prompted for their desktop's password during the upgrade. Some were prompted after some combination of restarting Docker Desktop and/or their laptops, after which ingress started working again. Others have had success with a complete reinstallation. |
|
My team had the same issue, this is how we fixed it without downgrading:
|
|
Same issue here, just before a meeting!! :S
This worked for us!! Additionally, i restored de network icdr back to original (/24) and followed the same process so we can end up as it originally was and it worked fine! :) |
|
We too facing same issue. But below solution didn't work for me.
|
|
Everyone on this thread is using |
|
Maybe a bit off topic, but I'm also interested in why people would choose |
|
@stephen-turner I can confirm, docker stack deploy failed where docker-compose up worked with the exact same compose file. We use docker stack for the multiple container support of the same instance, to more closely mirror production and so we can test our multi container features are working properly, i.e. connecting to the swarm and sharing data between containers |
|
May or may not be relevant, but I can confirm the same issue when using Additionally (at least for me) it does appear to be an intermittent issue, although it fails the vast majority of the time (success rate something like 10%) |
|
The steps at #5610 (comment) worked for me. Thanks @amirvaza! macOS 11.3.1, Intel chip, Docker Desktop Version: 3.3.3 (64133), Engine 20.10.6, Compose 1.29.1 |
|
I think most of the problems seen here are caused by the internal network changing and breaking swarm. As an experiment I created a swarm service ( There have been some tweaks to the network configuration recently to accommodate the new The Swarm docs mention that managers must have a static IP. This means that changing the network range will always require a as in @amirvaza 's comment above. I'll investigate how we could make this process simpler. In the meanwhile, could everyone who is having an issue follow the advice in @amirvaza 's comment above, reinitialize the swarm and re-deploy your service and check whether it works. If it does not, it must be a different issue. In that case could you file a separate ticket (to avoid confusion), upload diagnostics, quote the ID and link it to/from this one? @sebtoombs do I understand correctly that you have a problem with Thanks! |
|
@djs55 not to confirm with certainty, but adding thoughts which are consistent with your comment: I suspect changing networks when dialing into our VPN or disconnecting might cause such issues. I couldn't reproduce, yet. |
|
@djs55 The instructions to change to the default network fixed the issue for me. I just updated to the latest 3.3.3, and am able to use my stack like I used to with 3.2 releases. |
|
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. |
Expected behavior
Docker containers that have ports exposed should be accessible vial the loopback host.
Actual behavior
Containers are no longer reachable. I can hop on a container and access all containers on the docker network, but no access via
localhost.Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: