IntelliJ Docker Plugin will blow you away. I’ve recently found out about it, and it is invaluable in helping me debug containers launched by AWS SAM which emulate AWS Lambda Functions.
- install the plugin , in case it is not installed
- go to Tools, Tool Windows, Services
It will auto-detect the running docker
Explore the running containers and you can see almost everything you want, Example:
- you can event open a terminal on a running container (even though the terminal in not running in interactive mode)