Crates.io | container-rs |
lib.rs | container-rs |
version | 0.1.3 |
source | src |
created_at | 2021-08-10 12:28:47.638999 |
updated_at | 2022-04-21 06:08:15.953298 |
description | simple container cli and lib! |
homepage | https://github.com/wszxl516/container |
repository | https://github.com/wszxl516/container.git |
max_upload_size | |
id | 434218 |
size | 3,144,229 |
mkdir rootfs
wget https://www.busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/busybox-x86_64 -O rootfs/busybox
sudo ./target/debug/container start -r rootfs -i "/busybox" -a "sh"
sudo ./target/debug/container enter -p PID -c "/busybox sh"