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
Error response from daemon: failed to create endpoint (...) on network bridge: failed to add the host (veth1d85371) <=> sandbox (vethbc264f6) pair interfaces: operation not supported. #27426
Comments
Looks like you're running a non-standard kernel for Ubuntu 14.04. Ubuntu 14.04 ships with Kernel 3.13. Can you try with a standard kernel? It's possible your kernel is missing modules that are required for docker to function properly; you can try running this script to see what's missing; https://github.com/docker/docker/blob/master/contrib/check-config.sh |
Oops ... script's output is
I wonder how safe can be a kernel change on a non dedicated ovh's vps |
Looks like there's various things missing, perhaps best to contact ovh support? Based on the above, I don't think this is a bug in docker, so I'll close this issue, but feel free to continue the discussion here |
In my case, the error appears every time I update my Linux kernel. It disappears when I restart the computer. I am using Arch Linux. Update:An alternative is to downgrade the kernel if restart isn't feasible at the moment.
Credits to @Nowaker . See comment below |
Arch linux is a rolling release, and is shipping with "bleeding edge" versions of packages. Because of this, it's known that Arch periodically breaks docker; for that reason we don't ship packages for Arch. It may be best to report this with Arch linux, who maintains their packages |
I don't see any problem there. I've just left the comment for the ones using Arch Linux so they know a reboot is needed after updating the kernel. Thanks for your clarification @thaJeztah. |
Thanks @whoan for your answer! |
@whoan For Arch Linux, after you update the kernel, the old kernel modules will be all deleted (replaced with new version kernel modules) automatically. So if you didn't restart computer, you will be running old kernel without matched kernel modules. Most docker commands will load kernel modules (if they haven't been loaded yet), but your old kernel can't find its modules any more. That is why the error appears every time you update your Linux kernel, and disappears after you restart the computer. Kernel modules directory is in /lib/modules/. Next time before you update kernel, backup the old kernel modules directory. After update, restore the old kernel modules directory, then you won't see this error even if you don't restart computer. |
I have the same error, but did not work after reboot. So I rm all images and containsers with command |
I was having this issue because I was running a custom built kernel without the Virtual ethernet pair device option. So in case you have a custom kernel, make to enable that option before running
Putting this here because this seems to be the first result on Google for this error. Hope it helps! |
@whoan An alternative is to downgrade the kernel if restart isn't feasible at the moment. I'd be great if you could edit your comment so that all the knowledge is in one place. Thanks :-)
|
Thanks @Nowaker for your contribution. I added it to my previous comment as suggested. |
@Nowaker thanks! Minor typo fix for future searchers: |
Thanks @morancj. I fixed it on my previous comment. |
Thanks whoan, that was super helpful! |
@tomas , Could you help to see this issue for me? I was running a custom built kernel. I will try your method tomorrow you remind upon. THANKS A LOT . |
@tomas , Thanks for your answer above, it solved my problem. Thanks a lot. |
The output of the script: https://github.com/docker/docker/blob/master/contrib/check-config.sh I see some missing packages, what shall we do to fix the error: warning: /proc/config.gz does not exist, searching other paths for kernel config ... Generally Necessary:
Optional Features:
Limits:
|
Who knew? The solution was to turn it off and back on again. |
Seems like Linux copied that trick from Windows |
I should add for other Arch users that the reboot in my case was due to a system upgrade the same day. Seems like docker can't establish connection if you upgraded arch without rebooting. |
Same kind of trouble with my Raspberry PI. |
Thanks Man it worked. I had just updated my kernel so that's why it showing me error. |
hello , im using ubuntu 20.04.1 , and getting this exact thing when on my raspberry pi. when i try to installl portainer after pulling the image i get the exact reply. ive rebooted , updated, installed updates, rebooted again, still gettin that error code. i ran that script someone up top posted and heres my results
Optional Features:
Limits:
any help would be greatly appreciated, i just want a small family server to access files and add a pihole lol |
The vent kernel module is not installed. do: sudo apt install linux-modules-extra-raspi |
Thank you so much @briangu , you just saved me another 5h of searching for answers ! |
@coderj001 Have you tried this? #27426 (comment) |
Just had this issue popping up after upgrading Arch Linux to kernel 6.0.8
Best tip is to update the bootloader (e.g. Hope this helps. |
I have a fresly installed docker but when I cannot execute containers
Docker info are:
I've already tried to delete
/var/lib/docker/network/files/local-kv.db
as mentioned in similar issues with no successThe text was updated successfully, but these errors were encountered: