There is no pkill/pgrep in the base debian:wheezy docker image
# docker run debian:wheezy pkill
System error: exec: "pkill": executable file not found in $PATH
and I can't figure out which package should I install to have these tools
# docker run debian:wheezy cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian wheezy main
deb http://httpredir.debian.org/debian wheezy-updates main
deb http://security.debian.org wheezy/updates main
# docker run debian:wheezy apt-get install procps
E: Unable to locate package procps
Solved. I forgot about
apt-get update
before
apt-get install procps
in the container
try installing procps in your Dockerfile, or in your container, then commit it and launch the new image
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With