Support formatting to show root process id in docker ps
#49850
Labels
area/daemon
kind/feature
Functionality or other elements that the project doesn't currently have. Features are new and shiny
status/0-triage
Description
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.
(migrated from docker/cli#3643)
The text was updated successfully, but these errors were encountered: