-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
We're running into timezone issues because the docker-selenium containers have a different timezone than our host has. This is mostly due to this line in the Dockerfile:
docker-selenium/NodeBase/Dockerfile
Line 11 in 52233f0
ENV TZ "US/Pacific" |
We can fix /etc/timezone
and /etc/localtime
by running the container with: -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:r
, but that doesn't allow us to overwrite the TZ
env var. This results in tools like date
and Firefox still using the US/Pacific
timezone.