firecracker-microvm / firecracker

Secure and fast microVMs for serverless computing.
http://firecracker-microvm.io
Apache License 2.0
25.37k stars 1.77k forks source link

[Bug] failed to create endpoint on network bridge #3626

Closed Ben-Lichtman closed 1 year ago

Ben-Lichtman commented 1 year ago

Apologies if I am making a rookie mistake here. I am just trying to follow the quick-start to get firecracker working.

Describe the bug

❯ ./tools/devtool build
docker: Error response from daemon: failed to create endpoint jolly_pare on network bridge: failed to add the host (...) <=> sandbox (...) pair interfaces: operation not supported.

To Reproduce

Expected behaviour

A build should be performed

Environment

Additional context

andreitraistaru commented 1 year ago

Thank you for your interest in using Firecracker!

To me, it looks like a wrong configuration of the Docker itself or of the platform you're running on. Could you provide some more details about the environment you're trying to run the command ./tools/devtool build on? Like the OS you use and the Docker version? Is the kernel you're running on a non-standard one for the OS version you're using?

Can you run other containers in Docker successfully like docker run hello-world?

I found some similar discussions that could be useful in the context of the error you get here and here.

Ben-Lichtman commented 1 year ago

I am using arch linux with kernel 6.2.12-arch1-1 and Docker version 23.0.4, build f480fb1e37

dianpopa commented 1 year ago

Hi @Ben-Lichtman

The error you receive seems a docker related one rather than a Firecracker one. Our devtool relies on docker and does not do any additional network setup that might be triggering the error.

This issue seems relevant to what you encounter. Can you please follow the suggestions there and see if you get docker working?

Will close this for the moment, feel free to re-open once you get docker going. Thanks!