swapoff
Disable devices and files for swapping. Note: path/to/file can either point to a regular file or a swap partition. More information: <https://manned.org/swapoff>.
RUN apt-get update && \
apt-get install -y mount
RUN apt-get update && \
apt-get install -y mount
RUN apk add util-linux
RUN pacman -S --noconfirm util-linux
RUN apt-get update && \
apt-get install -y mount
RUN yum install -y util-linux
RUN dnf install -y util-linux
RUN apt-get update && \
apt-get install -y mount