logoalt Hacker News

spockzlast Friday at 6:29 PM3 repliesview on HN

Microsandbox claims to start faster than docker, and it is isolated from the host, and to work with OCI. Why would I still want to use docker? The only reason I can imagine is that I actually want to be able to dynamically share resources between containers instead of dividing up VMs a priori.

Ah, the significant compute overhead: https://josecastillolema.github.io/podman-wasm-libkrun/. Much more cpu and ram usage at worse performance.


Replies

mikeocoolyesterday at 3:15 AM

> dynamically share resources

This has been a big pain point me with various VM solutions I’ve tried. Having to allocate say 8GB to a sandbox, and a) having that RAM eaten up when I’m not using it and b) only having 8GB when I am using kinda sucks.

Yes, I could stop the sandboxes when I’m not using them, but that also kinda sucks.

happensyesterday at 7:22 AM

The performance difference in that post is due to wasm, not the container runtime, which is also stated at the end of the post.

NamlchakKhandroyesterday at 2:41 AM

Starting faster than a container will need evidence since starting a container on Linux is basically instant.

show 1 reply