4

Everything was working but suddenly I'm getting an error every time I run a docker container.

Example:

docker run -it debian

Resulting Error:

docker: Error response from daemon: failed to create endpoint dazzling_ptolemy on network bridge: failed to add the host (veth1e8eb9b) <=> sandbox (veth73c911f) pair interfaces: operation not supported

I have restarted docker using

systemctl docker restart

I also did a network prune

docker network prune

Nothing seemed to work, thank you for any help.

6

I haven't taken the time to figure out why, but you should just need to reboot your machine; it worked for me.

A search for the error on github came up with this, which links to this github issue from a while ago: https://github.com/moby/moby/issues/15341#issuecomment-218930712

  • Yea, I forgot to update this but I restarted and it worked like a charm. Not sure why this happens. – Machiavelli Apr 29 '17 at 7:30
  • @Machiavelli If this answer solves your issue, please consider accepting the answer. – Kusalananda Apr 29 '17 at 8:32
  • For me this is caused by updating my kernel. I use an operating system that has a rolling release, in which kernel updates happen somewhat frequently. There's always a chance when i update my system that the kernel is updated and a reboot will be necessary in order for docker networking to work again. I hope this helps those who may wonder what causes this. I would love to find a way to avoid the restart. – Patrick Motard Apr 27 '18 at 16:06
  • 1
    This is not a solution, but a workaround. – Nils Magnus Jul 26 '18 at 14:14
  • Things like this make me want to leave computers behind and look into woodcutting – domenukk Apr 28 at 4:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.