Skip to content

Instantly share code, notes, and snippets.

@thomscode
Created December 7, 2017 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomscode/aa64e959acf5e11f31b028514307b4cb to your computer and use it in GitHub Desktop.
Save thomscode/aa64e959acf5e11f31b028514307b4cb to your computer and use it in GitHub Desktop.
Fix or check the date of Docker Hyper-V on Docker for Mac

Docker Date Reset/Check

Check date in Docker Hyper-V

docker run --rm alpine date -u && date -u

Update date in Docker Hyper-V

docker run --rm --privileged alpine date -s "`date -u '+%Y-%m-%d %H:%M:%S'`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment