https://github.com/cirocosta/tinyc
Tiny container runtime
https://github.com/cirocosta/tinyc
c c-lang container-runtime containers linux
Last synced: 14 days ago
JSON representation
Tiny container runtime
- Host: GitHub
- URL: https://github.com/cirocosta/tinyc
- Owner: cirocosta
- Created: 2017-08-29T21:22:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T20:52:26.000Z (over 6 years ago)
- Last Synced: 2025-03-31T15:08:29.444Z (about 2 months ago)
- Topics: c, c-lang, container-runtime, containers, linux
- Language: C
- Homepage:
- Size: 69.3 KB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tinyc
`tinyc` is a tiny "container" runtime.
It aims at containerizing process in the most lightway possible. If all you want is running a set of processes isolated from the others, `tinyc` may be handy for you.
## Usage
```
# run the 'sleep' process
tinyc sleep 33d
``````
# run the 'sleep' process with the root set to 'busybox'.
tinyc \
--root=/var/lib/tinyc/images/busybox/rootfs \
sleep 33d
``````
# run the 'sleep' process with a memory limit of 1M
tinyc \
--memory=1M \
sleep 33d
``````
# run the 'sleep' process with all privileges
tinyc \
--privileged \
sleep 33d
``````
# run the 'sleep' proccess that gets restarted in case of failures
tinyc \
--restart=always \
sleep 33d
```## Building
- `libcap-dev`
- `libseccomp-dev`