Containers are great for shipping code to Prod, but my friends and I find them frustratingly painful for local dev: I have to wait on an image build to do anything, it's easy to accidentally invalidate the Docker layer build cache, I don't get my language's build cache unless I jump through extra hoops to mount it into the build image, I sometimes need to deal with file perm mismatches when mounting, attaching a debugger becomes a remote debugger incantation, and sometimes the language itself just seems to make containerization painful (looking at you, Rust).
Am I missing a tool or something? Shouldn't I be able to run my server in my IDE and proxy it into a Compose network or Kubernetes namespace, so I get my IDE tools for free? Or at least have my Docker container run in "watch" mode, where a change to one of the files the container is based on restarts the process with the new files?
Also, any 3rd party things (database for example) can be done with a docker-compose.local.yml omitting your app image and instead building it from .