trailbehind / DeepOSM

Train a deep learning net with OpenStreetMap features and satellite imagery.
MIT License
1.32k stars 182 forks source link

Clock in docker is wrong, so aws doesn't allow download #81

Open andrewjavao opened 7 years ago

andrewjavao commented 7 years ago

This appears when I'm using mac and linux centos7 both, after i do 'make dev' and working container is successfully launched, the clock in container is far away from the local clock, and seems the offset is random, and i can't set clock inside container. This may cause downloading failure when runing create_training_data.py in container. And I'm in timezone +8.

andrewjavao commented 7 years ago

I can fix the clock by adding '-v /etc/localtime:/etc/localtime ro' to docker run command, but in mac it seems no-use.