Ever seen the message below when doing a docker build or docker-compose build, and wondered how to resolve it:
“E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 2d 11h 27min 59s). Updates for this repository will not be applied.
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 2d 11h 52min 38s). Updates for this repository will not be applied.”
After a lot of Googling and trying various options, a simple restart of Docker Desktop on Windows and running a docker-compose build resolved the issue.