Closed niloc132 closed 9 years ago
I don't touch anything in /etc of the original boot2docker. Can you do it with the original boot2docker?
BTW, I can not see /etc/localtime at all right after the first boot.
I think just sudo touch /etc/localtime
is all you need.
You can put sudo touch /etc/localtime
in the /var/lib/boot2docker/bootsync.sh
for every boot.
@niloc132 I found a similar issue at https://github.com/boot2docker/boot2docker/issues/891. It should be fixed in the boot2docker itself.
Thanks for the very prompt response @ailispaw, I'll close this and watch that issue instead.
By itself this isn't a problem (and given xhyve's issues with maintaining correct time after the host sleeps, may not actually matter for some time yet), but it does mess with some docker-compose wiring that we're doing to ensure that real servers keep consistent timezones with their hosts.
The base image that boot2docker-xhyve is based on should have a file at
/etc/localtime
, not a directory. http://man7.org/linux/man-pages/man5/localtime.5.htmlWorkaround: