Good Day Members,
Your container won't be able to execute the 'ntpdate' command (it sets the local date and time by polling the Network Time Protocol (NTP) server(s) given as the server arguments to determine the correct time) due to the following error message in /var/log/messages
QuoteNov 12 21:24:26 schd04 ntpd[15868]: kernel time sync status 0040
Nov 12 21:24:26 schd04 ntpd[15868]: getaddrinfo: "::1" invalid host address, ignored
Nov 12 21:24:27 schd04 ntpd[15868]: cap_set_proc() failed to drop root privileges: Operation not permitted
It is because your container does not has sys_time enabled. Please browse
How to allow a VPS to set custom timezone ? (https://www.milesweb.com/hosting-faqs/allow-vps-set-custom-timezone/) to enable sys_time on your container.
Once done, ntpdate should start working as expected.