Why? I have a Containerfile to which I add new stuff regularly. I build and run it as my 'workspace' container. Works very well.
IDE integration. For example, I use the Jetbrains RustRover IDE on Fedora Atomic, which is an immutable Linux distribution that is based on keeping the OS setup as clean as possible. I use DevContainer to install the toolchains I need for my project and the IDE takes care of setting up my development environment.