If you just want see the output of the process running from within the container, you can do a simple docker container logs -f <container id>
.
The -f
flag makes it so that the output of the container is followed
and updated in real-time. Very useful for debugging or monitoring.