-
Notifications
You must be signed in to change notification settings - Fork 121
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
Outbound routing from containers consistently fails under high traffic load #6086
Comments
A couple updates. First, it looks like this might be a duplicate of #3448 and/or docker/for-win#8861. After seeing that it was reported on Windows as well, I decided to see if I could reproduce the behavior in a Ubuntu VM. In fact it's even worse; when the issue presents on Ubuntu, I actually lose routing out of the VM itself. So this looks pretty serious... |
I'm seeing the same thing on 4.3.0 on an M1 Mac. Simply execing into the container and running curl to |
Just to let you know: on 4.3.2 on Mac the same for me. |
I've just tried testing with --userland-proxy=false with similar results, which makes it seem like a resource leak/bug in the setup and teardown of iptables rules. That would also help explain why when I test in ubuntu my VM loses routing entirely as soon as the docker issues begin. |
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. |
Expected behavior
Docker should be able to reliably route traffic to and from container networks.
Actual behavior
When generating large amounts of outbound traffic (using nmap SYN scans), I consistently observe that outbound traffic eventually fails to be routed from the scanning container to the external scan target. Normal routing behavior resumes upon Docker and/or host machine restart.
Information
Steps to reproduce the behavior
python -m http.server
while true; do docker run instrumentisto/nmap:7.92 -sS -Pn -p 1024-2048,8000 192.168.1.11; sleep 5; done
RCVD (175.0555s) ICMP [192.168.65.3 > x.x.x.x Host x.x.x.x unreachable (type=3/code=1) ] IP [ver=4 ihl=5 tos=0xc0 iplen=72 id=17344 foff=0 ttl=64 proto=1 csum=0x4487]
The text was updated successfully, but these errors were encountered: