Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wszxl516/container
https://github.com/wszxl516/container
container namespace
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wszxl516/container
- Owner: wszxl516
- Created: 2020-05-02T09:51:52.000Z (over 4 years ago)
- Default Branch: rust
- Last Pushed: 2022-07-12T12:13:17.000Z (over 2 years ago)
- Last Synced: 2024-10-31T12:02:12.068Z (2 months ago)
- Topics: container, namespace
- Language: Rust
- Size: 109 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prepare
```shell
mkdir rootfswget https://www.busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/busybox-x86_64 -O rootfs/busybox
```
# start container```shell
sudo ./target/debug/container start -r rootfs -i "/busybox" -a "sh"
```# enter container
```shell
sudo ./target/debug/container enter -p PID -c "/busybox sh"
```