Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
/ firefighter Public archive

A set of scripts to download or build firecracker and run a firecracker micro-VM

License

Notifications You must be signed in to change notification settings

mostafa/firefighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firefighter

Firefighter is, for now, as set of scripts to download or build from source the firecracker and the firectl, download linux images and then eventually run them as a microvm.

For now, things are opinionated. But I'll fix it in the future and make everything configurable.

For starting a new microvm, run this:

git clone https://gitlab.com/moradian/firefighter
cd firefighter
./run_microvm.sh start alpine

You'll eventually be in a shell inside alpine. To enable networking and internet connectivity, run this:

The username and password is root.

ip addr add 172.16.0.2/24 dev eth0
ip route add default via 172.16.0.1 dev eth0
echo "nameserver 8.8.8.8" > /etc/resolv.conf
ping google.com

To stop the microvm, run restart inside microvm and then ./run_microvm.sh stop from your host.

About

A set of scripts to download or build firecracker and run a firecracker micro-VM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages