flock
Manage locks from shell scripts. It can be used to ensure that only one process of a command is running. More information: <https://manned.org/flock>.
RUN apt-get update && \
apt-get install -y util-linux
RUN apt-get update && \
apt-get install -y util-linux
RUN apk add util-linux
RUN pacman -S --noconfirm util-linux
RUN apt-get update && \
apt-get install -y util-linux
RUN yum install -y util-linux
RUN dnf install -y util-linux
RUN apt-get update && \
apt-get install -y util-linux