Skip to content

Instantly share code, notes, and snippets.

@vyo
Created February 4, 2016 08:45
Show Gist options
  • Save vyo/26612fd183c9913c5622 to your computer and use it in GitHub Desktop.
Save vyo/26612fd183c9913c5622 to your computer and use it in GitHub Desktop.
Docker: Sync with host time
$ date && docker run --rm -it -v /etc/localtime:/etc/localtime:ro alpine:3.3 date
Thu Feb 4 09:46:54 CET 2016
Thu Feb 4 09:46:55 CET 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment