But they don’t.... they should, but don’t. I’ve helped plenty of client either redesign their containers, or implement healthchecks.
Note that adding the healthcheck isn’t enough. Docker won’t actually do anything if a container is unhealthy. You need a seperate process to restart the unhealthy container.