cli icon indicating copy to clipboard operation
cli copied to clipboard

Support formatting to show root process id in `docker ps`

Open jswolf19 opened this issue 2 years ago • 0 comments

This is a feature request to allow viewing the root process's id in the docker ps listing. It can currently be viewed by container using docker inspect -f '{{.State.Pid}}' <container-name_or_ID>

My immediate use case is trying to find the container responsible for zombie processes on my system. This use case is likely ameliorated with the --init flag, but (assuming this is not a difficult thing to do) I feel it is information about the container that could be useful in other situations, as well.

jswolf19 avatar Jun 01 '22 00:06 jswolf19