Slide 22
Slide 22 text
21
Design of Fast Startup and RT Support
{
“args”: [ “RT process” ],
“cpu”: 3
}
“ociVersion”: “1.0.1-dev
“process”: {”
...
“args”: [ “dummy” ],
...
},
...
Container
(created)
6. Start the container
execvp(“RT Process”)
SL runtime
Container
(running)
/var/run/exec.fifo
config.json (OCI runtime spec)
3. Event loop
select(fd of exec.fifo, ...)
fast-startup.json
dummy
RT
Process
4. Fast startup
2. Initialize the container based
on the config.json
e.g., namespaces, seccomp, etc.
5. Write the contents of the fast-startup.json
1. Create a container