Building firecracker from the source requires docker as a dependency. Documentation pages(link) says
Firecracker uses a Docker container to standardize the build process.
And while building firecracker from the source, it pulls fcuvm image from dockerhub.
How is firecracker connected to docker and what exactly is this docker image doing?