info_tfgrid/collections/tfgrid4specs/zinit_runc.md
2024-10-03 17:29:42 +03:00

25 lines
853 B
Markdown

# Zinit RunC
- json as defined in https://github.com/opencontainers/runtime-spec
- use https://github.com/containers/youki (maybe even better integrate it in our zinit binary) to execute
- allow flist in mounts (so we can mount an flist in a runc container)
- allow to attach https://github.com/tsl0922/ttyd to the runc container (can be separate process in zinit)
- set passwd, set listening port & host interface (e.g. mycelium)
## todo first
- tutorial how to use runc spec and mount it
- make example how to use ttyd with runc
- make example e.g. postgresql running in runc starting from our podman/buildah (hercontainers). we have that installer
try ai prompt
```
can we export the runc json from podman, and how can we run it manually using runc ourselves
```
## implementation
Have a driver which uses zinit, keep zinit small, do in V.