Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix timezone on boot2docker VM #476
When first bringing up the boot2docker (either
This will fix the timezone within the boot2docker VM, which makes trouble shooting certain issues easier.
# Without /etc/localtime date +'%I:%M %p %Z' # returns 11:33 PM UTC # With /etc/localtime (America/New_York) date +'%I:%M %p %Z' # returns 07:33 PM EDT
referenced this issue
Aug 8, 2014
So the zoneinfo database format is pretty stable, so I don't anticipate any changes that would cause breakage. Also, boot2docker is usually pretty up-to-date so if anything it'll be a newer libc in boot2docker for an older zoneinfo format, which should always work.
Obviously, not all systems have an
This should be pretty darn safe in the scheme of things.