/usr/bin/ps missing from fedora:22 docker base image

Haïkel hguemar at fedoraproject.org
Wed Jul 8 10:11:59 UTC 2015


2015-07-08 11:56 GMT+02:00 Michal Fojtik <mfojtik at redhat.com>:
> You know that you can do `docker exec CID` and inspect what is running
> inside the container (for example troubleshoot problems?)

You meant docker top, that's why it makes ps all the more redundant in an image.
Most people wishing to have ps in the image are using containers as
virtual machines
which is not an use case supported.
Moreover, you can still use ps on the host to monitor those processes,
though it would
benefit to be container aware.

Cf Cloud PRD
https://fedoraproject.org/wiki/Cloud/Cloud_PRD#Requirement_.232:_Improved_Docker_Integration

"Docker is a popular tool for launching and managing *application containers*."

> There are many use-cases where `ps` is super useful and the users will be
> asking why this tool is present in centos/debian/rhel/etc but not
> in F21.
>

Which ones? The only use case so far presented here is at best sketchy.
Looks like trying to fix the wrong problem.

H.


More information about the cloud mailing list