Closed xdays closed 10 years ago
That seems to be a bug in the iproute package.
Does it happen reliably or randomly?
I have no dhcp now, I will test it again next monday. by the way, cloud you give me some suggesions to understand the technology in pipework? I know nothing about cgroup and namespaces.
Pipework itself just uses iproute, bridges ... through standard Linux commands.
Cgroups and namespaces are the kernel features used by Linux Containers and Docker to provide lightweight virtualization.
If you want an intro to LXC, you can check those slides: http://www.slideshare.net/jpetazzo/scale11x-lxc-talk-1
And if you want an intro to Docker, you can check those slides: http://www.slideshare.net/jpetazzo/docker-introduction-meet-up-whats-new-0-9
I hope this helps!
thank you for the slide. I try it just now, it works with dhclient
, The system stuck when I try static ip address. anyway, I don't think I have enough knowledge to address the problem, so looking forward this feather merged to docker. thanks!
@xdays We hit this issue sometimes (about once in 100k container provisionings). This appears to be a kernel problem, still researching which one. In our case we're using 0/0 IP and then run dhclient from within Docker container. You can take a look at https://bugzilla.redhat.com/show_bug.cgi?id=1091779
I use fedora, there's no package related to udhcpc,I changed to dhclient。 but it seemed this tools does not work with fedora