Heyyo ๐ I'm posting because this took me a bit to track down due to no other google searches appearing for it. I'm running into failures when using Dagger with Podman because of the fact that Podman sets default PID limits where Docker does not. An example trace where you can see a PID limit related error is dagger trace cd572db34091693da11e533ec8730162. After thinking about this for a while, I don't think this should be something dagger "fixes", it would be nice if the engine was PID limit aware, but ultimately the user has full control over resource limits so I believe this a fair failure scenario. I wanted to get other thougts on this before raising a contribution to add this to the dagger podman docs.
Possible Engine failure due to this too
I admit that I need to go back to reproducing and documenting this scenario more concretely but I actually first began tracking this down due to dagger call "randomly" getting these "POST /query: Unexpected EOF" errors. I've only concretely observed the engine crash once and am planning to setup a proper repro once I get a chance but for now I'll attach the engine logs and Opus analysis of the logs which points to the PID limit issue being the source of the engine crash. Here is the trace which corresponds to the engine crash logs, dagger trace d99108af299d26d317564fcee8eb3e88