Skip to content

Instantly share code, notes, and snippets.

@jhoelzel
Created January 29, 2022 15:53
Show Gist options
  • Save jhoelzel/68687d945d2116499a547eba8a44c00d to your computer and use it in GitHub Desktop.
Save jhoelzel/68687d945d2116499a547eba8a44c00d to your computer and use it in GitHub Desktop.
Windows 11 update time for docker desktop container
# Often after hibernation your docker containers will be out of sync which will create problems with everythin expiration based.
# This quick fix will update the time in your local docker desktop container which should be using wsl und Windows 11
# You can find more information about hwclock here: https://linux.die.net/man/8/hwclock
$ wsl -d docker-desktop -e /sbin/hwclock -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment