Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s8sg/docker-firecracker

Generic container for launching a firecracker microVM inside a Docker container
https://github.com/s8sg/docker-firecracker

container docker firecracker firecracker-microvms golang security

Last synced: 29 days ago
JSON representation

Generic container for launching a firecracker microVM inside a Docker container

Awesome Lists containing this project

README

        

# 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
```sh
git clone https://github.com/s8sg/docker-firecracker
cd docker-firecracker
make
```

### Build your root fs using fs-base `currently only supported GO`
```sh
./build-fs ./my-go-app my_root_fs
```

### Running
```sh
docker run \
-td \
--privileged \
-v /path_to/my_root_fs:/rootfs/image \
-p : \
s8sg/docker-firecracker
```