This is one of the main reasons people like Podman. Docker has this "feature" but as far as I remember, it needed some obscure configuration. I guess they don't add it as default as it will break many current setups.
Podman has lots of underappreciated features, and it's fully open-source!
That and podman lets you configure away from docker.io.