root@85daaeb79bd9:/function# timedatectl set-time $(date -u -d '+60 day' '+%F')
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
so that approach might not be possible in a container.
Specifically, we'd like to run it in the future to detect pending expirations.
Something like the following should work:
https://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/
^ results in:
so that approach might not be possible in a container.