Docker Community Forums

Share and learn in the Docker community.

Access running process inside running container


(Stephen Steiner) #21

Why not just restart the container?


#22

@ntwrkguru How about for the scenario that you cannot restart the container because you need to troubleshoot the process running in the container as-is?

I have yet to find a solution for debugging a running process in a running container. We have been trying something like watch -n 1 'cat /proc/<PID>/task/<PID>/status' but I can’t find anything in there that points me to current syscalls and their output.