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>2022-08-28 05:39:44 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-08-28 05:39:44 +0200
commit70baaeb4e78d12c329a03e929fd30d41730ed2b1 (patch)
tree74e0b2998455894762b6910ef4008d43f5dc9366 /content/posts/2021-12-25-running-golang-application-as-pid1.md
parentb1d9aefd2a9fa0074f8d18fa2410cdd53d4c8de6 (diff)
downloadmitjafelicijan.com-70baaeb4e78d12c329a03e929fd30d41730ed2b1.tar.gz
Moved statis assets and converted all CSS to Tailwind
Diffstat (limited to 'content/posts/2021-12-25-running-golang-application-as-pid1.md')
-rw-r--r--content/posts/2021-12-25-running-golang-application-as-pid1.md6
1 files changed, 3 insertions, 3 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 2f49466..7a62d1c 100644
--- a/content/posts/2021-12-25-running-golang-application-as-pid1.md
+++ b/content/posts/2021-12-25-running-golang-application-as-pid1.md
@@ -28,7 +28,7 @@ I really like the explanation from the article [Unikernels: Rise of the Virtual
28 28
29If we compare a normal operating system to a unikernel side by side, they would look something like this. 29If we compare a normal operating system to a unikernel side by side, they would look something like this.
30 30
31![Virtual machines vs Containers vs Unikernels](/pid1/unikernels.png) 31![Virtual machines vs Containers vs Unikernels](/assets/pid1/unikernels.png)
32 32
33From this image, we can see how the complexity significantly decreases with the use of Unikernels. This comes with a price, of course. Unikernels are hard to get running and require a lot of work since you don't have an actual proper kernel running in the background providing network access and drivers etc. 33From this image, we can see how the complexity significantly decreases with the use of Unikernels. This comes with a price, of course. Unikernels are hard to get running and require a lot of work since you don't have an actual proper kernel running in the background providing network access and drivers etc.
34 34
@@ -221,7 +221,7 @@ Hello from Golang
221Hello from Golang 221Hello from Golang
222``` 222```
223 223
224The whole [log file here](/pid1/qemu.log). 224The whole [log file here](/assets/pid1/qemu.log).
225 225
226## Size comparison 226## Size comparison
227 227
@@ -290,7 +290,7 @@ genisoimage -R \
290 290
291This will produce `GoAsPID1.iso` which you can use with [Virtualbox](https://www.virtualbox.org/) or [Gnome Boxes](https://apps.gnome.org/app/org.gnome.Boxes/). 291This will produce `GoAsPID1.iso` which you can use with [Virtualbox](https://www.virtualbox.org/) or [Gnome Boxes](https://apps.gnome.org/app/org.gnome.Boxes/).
292 292
293<video src="/pid1/boxes.mp4" controls></video> 293<video src="/assets/pid1/boxes.mp4" controls></video>
294 294
295## Is running applications as PID 1 even worth it? 295## Is running applications as PID 1 even worth it?
296 296