$ sudo sed -i 's/ConditionVirtualization=!container/#ConditionVirtualization=!container/' /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
$ systemctl daemon-reload
$ sudo systemctl restart systemd-timesyncd
Source: https://1kko.com/2460635