rabbitstack / rabbitc

Micro container runtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rabbitc

rabbitc is the micro container runtime meant for learning purposes. For more information, read the blog post.

Building

Rust toolchain is required to build rabbitc. Clone this repository and run cargo build --release.

rabbitc --help prints all availalbe options.

OPTIONS:
    -c, --cmd <cmd>                      Command that is run inside container [default: /bin/sh]
    -t, --container-ip <container-ip>    The default IP address for container in CIDR notation [default: 172.19.0.2/16]
    -h, --hostname <hostname>            Container host name [default: rabbitc]
    -i, --network-ip <network-ip>        The default IP address for the bridge device in CIDR notation [default:
                                         172.19.0.1/16]
    -n, --network-name <network-name>    The name of the bridge device where containers are connected [default:
                                         rabbitc0]
    -r, --rootfs <rootfs>                Root file system path for the container

About

Micro container runtime

License:Apache License 2.0


Languages

Language:Rust 100.0%