Debugging containers that have no shell
docs.docker.com
docs.docker.com
PS. Even without checking again, it would be surprising if it changed. Even the official documentation is mentioning that this is needed
https://matthewsanabria.dev/posts/no-shell-for-you-container...
https://iximiuz.com/en/series/mastering-container-debugging/