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

Michal Fojtik mfojtik at redhat.com
Wed Jul 8 10:14:29 UTC 2015

No, I mean that when you run the container in cluster (like in
Kubernetes/Atomic/OpenShift) you obviously
don't have "docker top" but you have "kubectl exec" or "oc exec". You don't
know on which node the container
runs and therefore you need to use the "exec" approach.

On Wed, Jul 8, 2015 at 12:11 PM, Haïkel <hguemar at fedoraproject.org> wrote:

> 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.
> _______________________________________________
> cloud mailing list
> cloud at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/cloud
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/cloud/attachments/20150708/efc75cdc/attachment.html>

More information about the cloud mailing list