Is there any way to run Firecracker inside Docker container.
I tried the basic networking in firecracker although having containerized firecracker can have many benefits
- No hurdle to create and manage overlay network and attach
- Deploy in Docker swarm and in Kubernetes
- No need to clean IPTables/Network rules etc.
Nowadays, you can use Firecracker as a containerd runtime, thanks to the official firecracker-containerd project. You can learn how to set it up in the quick start guide.
Alternatively, if you do not insist on using Firecracker, you might want to consider gVisor, which is a similar project by Google built with containers in mind.