ps command not found in fedora image in docker

Docker is a lightweight virtual machine container. To minimize the image, most of the official distributions were erased most the unnecessary system tools.

After pulled the fedora, I found command “ps” not found in default. ps can be found in package procps.

Install command is very easy:

dnf install procps -y

See also:

Wheezy: “ps: command not found”

How to find the package by name