ntpdate

Synchronize and set the date and time via NTP. More information: <http://support.ntp.org/documentation>.

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