Building and committing images
cardinal build, commit, system prune, and console turn it into a full dev loop.
cardinal grows a build story:
cardinal build— a Dockerfile builder with--no-cache,--build-arg,
and multi-stage support.
cardinal commit <container> <image>:<tag>— turn a running container's
overlay into a reusable image.
cardinal system prune— reclaim disk from unused containers and images.cardinal console— auto-detect a shell and attach interactively.
Combined with stop --all, exec -i/-t, and the Unix-socket attach rewrite
(Ctrl+C safe), the full edit → build → run → debug loop now works entirely
inside cardinal.