Skip to content

Generic container for launching a firecracker microVM inside a Docker container

Notifications You must be signed in to change notification settings

s8sg/docker-firecracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Firecracker

Generic container for launching a firecracker microVM inside a Docker container

  • It attaches to the VM as many NICs as the docker container has
  • Outputs serial console to stdio, thus visible using docker logs

Getting Started :

Build the docker container

git clone https://github.com/s8sg/docker-firecracker
cd docker-firecracker
make

Build your root fs using fs-base currently only supported GO

./build-fs ./my-go-app my_root_fs

Running

docker run                                        \
      -td                                         \
      --privileged                                \
      -v /path_to/my_root_fs:/rootfs/image        \
      -p <port>:<port>                            \
      s8sg/docker-firecracker

About

Generic container for launching a firecracker microVM inside a Docker container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published