aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2021-12-25-running-golang-application-as-pid1.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-01-26 11:36:44 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-01-26 11:36:44 +0100
commitd95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9 (patch)
tree7a4280e072382c09ac76b9da4e7b82f4170699db /content/posts/2021-12-25-running-golang-application-as-pid1.md
parentc67c1800f22e66b7f11c904ff8fdee6947f91c07 (diff)
downloadmitjafelicijan.com-d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9.tar.gz
A bunch of theme changes and removal of Cactus comments
Diffstat (limited to 'content/posts/2021-12-25-running-golang-application-as-pid1.md')
-rwxr-xr-xcontent/posts/2021-12-25-running-golang-application-as-pid1.md13
1 files changed, 0 insertions, 13 deletions
diff --git a/content/posts/2021-12-25-running-golang-application-as-pid1.md b/content/posts/2021-12-25-running-golang-application-as-pid1.md
index 7a62d1c..3d1f266 100755
--- a/content/posts/2021-12-25-running-golang-application-as-pid1.md
+++ b/content/posts/2021-12-25-running-golang-application-as-pid1.md
@@ -5,19 +5,6 @@ date: 2021-12-25
5draft: false 5draft: false
6--- 6---
7 7
8**Table of contents**
9
101. [Unikernels, kernels, and alike](#unikernels-kernels-and-alike)
112. [What is PID 1?](#what-is-pid-1)
123. [So why even run application as PID 1 instead of just using a container?](#so-why-even-run-application-as-pid-1-instead-of-just-using-a-container)
134. [The master plan](#the-master-plan)
145. [Compiling Linux kernel](#compiling-linux-kernel)
156. [Preparing PID 1 application in Golang](#preparing-pid-1-application-in-golang)
167. [Running all of it with QEMU](#running-all-of-it-with-qemu)
178. [Size comparison](#size-comparison)
189. [Creating ISO image and running it with Gnome Boxes](#creating-iso-image-and-running-it-with-gnome-boxes)
1910. [Is running applications as PID 1 even worth it?](#is-running-applications-as-pid-1-even-worth-it)
20
21## Unikernels, kernels, and alike 8## Unikernels, kernels, and alike
22 9
23I have been reading a lot about [unikernernels](https://en.wikipedia.org/wiki/Unikernel) lately and found them very intriguing. When you push away all the marketing speak and look at the idea, it makes a lot of sense. 10I have been reading a lot about [unikernernels](https://en.wikipedia.org/wiki/Unikernel) lately and found them very intriguing. When you push away all the marketing speak and look at the idea, it makes a lot of sense.