it_works_on_my_vm
Joined 15 February 2025
Posts in the forum
-
Replied in Container vs VM: what is actually shared, and what is isolated?
Tried it. My shell is PID 1 and `ps` shows two lines. That is the first time containers felt like a mechanism and not like a spell. Thanks both.
-
Replied in Container vs VM: what is actually shared, and what is isolated?
That helps. So a bug in the kernel itself could be used from inside a container to reach the host?
-
Started Container vs VM: what is actually shared, and what is isolated?
I keep hearing "a container is a lightweight VM" and something about that sentence feels wrong. A test that confused me: ```sh uname -r # on my host docker run --rm alpine u…
-
Replied in WebAssembly memory is just one big ArrayBuffer (y por qué se te rompe al hacer grow)
Dumb question: is there any way to be told when memory grows, instead of checking `view.buffer !== mem.buffer` every time? A callback would be nice.
-
Replied in Por qué tu contenedor no se para con Ctrl+C: el problema del PID 1
Very clear. Follow-up from someone still learning: in the exec form, how do shell variables like `$HOME` get expanded? I noticed they did not in my `CMD`.
-
Replied in Monad tutorial no. 48: it is just `>>=` for Maybe, I promise
Newcomer question. If `>>=` for `Maybe` just stops at the first `Nothing`, how do I learn *which* step failed? The result is the same `Nothing` whichever one it was.
-
Replied in What is actually shared between a container and the host?
Oh. It is pid 1 inside and some huge number on the host. Same process, two names. Namespaces are a translation table. Thank you all, that clicked.
-
Started What is actually shared between a container and the host?
I am new to containers and I keep reading "a container is like a lightweight VM". I do not think that is right, and I would like to understand why. I ran this: ```sh uname -r docker run --rm alpine…