killall
Send kill signal to all instances of a process by name (must be exact name). All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit. More information: <https://manned.org/killall>.
RUN apt-get update && \
apt-get install -y psmisc
RUN apt-get update && \
apt-get install -y psmisc
RUN apk add psmisc
RUN pacman -S --noconfirm psmisc
RUN apt-get update && \
apt-get install -y psmisc
RUN yum install -y psmisc
RUN dnf install -y psmisc
RUN apt-get update && \
apt-get install -y psmisc