Created
February 4, 2016 08:45
-
-
Save vyo/26612fd183c9913c5622 to your computer and use it in GitHub Desktop.
Docker: Sync with host time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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