🤘
Rust + Docker = RockerRocker
is a minimal docker implementation for educational purposes inspired by gocker. Rocker
uses linux kernel features (namespace, cgroup, chroot etc.) to isolate container processes and limit available resourses.
Usage
- Run a container
rocker run [OPTIONS]
OPTIONS:
--cpus
-m, --mem
--pids-limit
- List running containers
rocker ps
- List images
rocker images
- Run a command in the existing container
rocker exec
- Delete an image
rocker rmi
Requisites
- libdbus (1.6 or higher)
Build
$ cargo build
The executable file is located at ./target/x86_64-unknown-linux-gnu/debug/rocker