-
Notifications
You must be signed in to change notification settings - Fork 118
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
iptables doesn't work on Intel based CentOS 7 Container. #6297
Comments
I have a stronger suspicion that iptables are not supported on Intel based containers on M1 given how I'm also able to reproduce this on Ubuntu. |
@joe0BAB @thaJeztah Apologize to tag you both, but curious if you both have thoughts on this ticket? If iptables from an Intel based container isn't supported on Apple M1, that's fine and my team will find a workaround solution to our problem. Just looking for a confirmation! |
@erict-square thank you for raising this issue! iptables currently doesn't work under qemu emulation. We'll add this to our doc page https://docs.docker.com/desktop/mac/apple-silicon/. |
@joe0BAB Thanks for the confirmation! Please leave a comment here once the doc page is updated :) |
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:
Able to show iptables rules. Here's an example of a successful output on the "linux/arm64" centos:7 container
Actual behavior
Running the same iptables command in the "linux/amd64" centos7 container renders the following error
Information
Output of
/Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Steps to reproduce the behavior
docker run -it --cap-add=NET_ADMIN --platform linux/amd64 centos:7 bash
yum install -y iptables
iptables -L
This is reproducible.
I know that running Intel based containers on M1 is best-effort, but I'm curious to learn more about this behavior (e.g. Is iptables not supported on Intel based containers on M1?) and whether there is any solutions/workarounds.
I'm also not sure if the diagnosis output is relevant because given the same error, I can get the expected behavior on ARM based containers.
The text was updated successfully, but these errors were encountered: