faketime

Fake the system time for a given command. More information: <https://manned.org/faketime>.

Debian Debian
RUN apt-get update && \ apt-get install -y faketime
Ubuntu
RUN apt-get update && \ apt-get install -y faketime
Arch Arch Linux
RUN pacman -S --noconfirm faketime
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y faketime
Fedora
RUN dnf install -y faketime
Raspbian
RUN apt-get update && \ apt-get install -y faketime
click the source code to copy install faketime on any operating system with command-not-found.com