If you watch the following 'til the end https://youtu.be/bUBF5V6oDKw (from the AI Engineer conf, by the creator of Docker), you can I think find something satisfactory within those lines.
Did you link to a video instead of https://github.com/dagger/container-use(Apache 2)? I mean, as fun as it was to watch someone type into GhosTTY on stage ...
Anyway, lightly discussed at the time https://news.ycombinator.com/item?id=44193933