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 run userns host + privileged + net host not working as expected #42846
Comments
If you Lines 697 to 698 in 9e7bbdb
|
/cc @AkihiroSuda |
Hey @thaJeztah! Sorry for the delay in responding, I had some problems with my email: I lost the Github notifications. There's the info requested
As you can see the UsernsMode is host when I remove the flag network host |
Good morning, We are trying to deploy an overlay network and we are finding the same problem we can't deploy weave beacause we enabled userns. @thaJeztah / @AkihiroSuda is this an expected behaviour or could be a bug related with the conditional you quoted in your las comment? #42846 (comment) @monwolf did you found a workarround? |
No, I didn't find a workaround. I was waiting for @thaJeztah or @AkihiroSuda to give us some feedback. |
Looks a bug. Slightly kinda "enhancement", though. |
BUG REPORT INFORMATION
Description
I'm trying to setup weave to create an overlay network in a host with docker daemon with using namespaces, but when I try to run the container as follow:
I'm getting the error:
The only way I found to run this container is removing the flag net, I also tried with the flag network but the same happens.
As expected the container can't run without the host network.
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Our hosts are centos 7 virtualized on top of vmware.
The text was updated successfully, but these errors were encountered: