Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker image does not recognise timezone appropriately #767

Open
instantdreams opened this issue Apr 15, 2024 · 0 comments
Open

docker image does not recognise timezone appropriately #767

instantdreams opened this issue Apr 15, 2024 · 0 comments

Comments

@instantdreams
Copy link

Describe the bug
I am passing a timezone environment variable and mounting timezone and localtime as volumes in the docker container, but all times reported by the container are in UTC.

Expected behavior
I run the following commands on the container:

$ docker exec homer date
Mon Apr 15 17:30:27 UTC 2024

$ docker exec homer cat /etc/timezone
America/Edmonton

The container can see the timezone but is not recognising it.

Logs & errors
Perhaps the container image could include tzdata to allow this to work.

Screenshots
n/a

Configuration
n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant