Kontainer Runtime is a low layer container runtime written in Kotlin/Native.
Full documentation is published at https://ternbusty.github.io/kontainer-runtime/.
./gradlew linkDebugExecutableLinuxX64To create a container whose name is test from a bundle located at test-bundle, use the following command
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe create --bundle test-bundle testTo start the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe start testTo create and start the container in a single step
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe run --bundle test-bundle testTo get the status of the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe state testTo list all containers
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe listTo pause the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe pause testTo resume the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe resume testTo update the container's resource limits
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe update --memory 134217728 --pids-limit 100 testTo get a snapshot of the container's resource usage
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe events --stats testTo list processes in the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe ps testTo execute a process in the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe exec test -- sh -c "echo hello"To stop the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe kill test SIGKILLTo delete the container
sudo ./build/bin/linuxX64/debugExecutable/kontainer-runtime.kexe delete testApache License 2.0. See LICENSE for the full text.