[GH-ISSUE #574] Changing timezone in docker #337

Closed
opened 2026-04-08 16:52:09 +03:00 by zhus · 3 comments
Owner

Originally created by @Azinuss on GitHub (Apr 16, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/574

The docker container logs show time in UTC-0. I tried to change it using different environment variables but nothing worked. How can I set the time zone?

Originally created by @Azinuss on GitHub (Apr 16, 2025). Original GitHub issue: https://github.com/sigoden/dufs/issues/574 The docker container logs show time in UTC-0. I tried to change it using different environment variables but nothing worked. How can I set the time zone?
zhus closed this issue 2026-04-08 16:52:09 +03:00
Author
Owner

@git001 commented on GitHub (Apr 17, 2025):

Have you also tried to set the environment variable TZ=Your/TimeZone ?

<!-- gh-comment-id:2810856219 --> @git001 commented on GitHub (Apr 17, 2025): Have you also tried to set the environment variable `TZ=Your/TimeZone` ?
Author
Owner

@sigoden commented on GitHub (Apr 17, 2025):

Since dufs is based on a scratch image, there is no way to change its default timezone.

Maybe you should create your own Docker image.

<!-- gh-comment-id:2811967303 --> @sigoden commented on GitHub (Apr 17, 2025): Since dufs is based on a scratch image, there is no way to change its default timezone. Maybe you should create your own Docker image.
Author
Owner

@Azinuss commented on GitHub (Apr 17, 2025):

Thanks for the answer!

<!-- gh-comment-id:2812826834 --> @Azinuss commented on GitHub (Apr 17, 2025): Thanks for the answer!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#337