https://github.com/rabbitstack/rabbitc
Micro container runtime
https://github.com/rabbitstack/rabbitc
containers linux rust
Last synced: 11 months ago
JSON representation
Micro container runtime
- Host: GitHub
- URL: https://github.com/rabbitstack/rabbitc
- Owner: rabbitstack
- License: apache-2.0
- Created: 2018-07-04T19:18:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-17T17:09:36.000Z (over 7 years ago)
- Last Synced: 2025-02-27T22:44:50.044Z (12 months ago)
- Topics: containers, linux, rust
- Language: Rust
- Size: 28.3 KB
- Stars: 189
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbitc
**rabbitc** is the micro container runtime meant for learning purposes. For more information, read the blog [post](http://rabbitstack.github.io/operating%20systems/containers/linux-container-internals-part-ii/).
## Building
Rust toolchain is required to build `rabbitc`. Clone this repository and run `cargo build --release`.
`rabbitc --help` prints all availalbe options.
```bash
OPTIONS:
-c, --cmd Command that is run inside container [default: /bin/sh]
-t, --container-ip The default IP address for container in CIDR notation [default: 172.19.0.2/16]
-h, --hostname Container host name [default: rabbitc]
-i, --network-ip The default IP address for the bridge device in CIDR notation [default:
172.19.0.1/16]
-n, --network-name The name of the bridge device where containers are connected [default:
rabbitc0]
-r, --rootfs Root file system path for the container
```