Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
By default, Linux and Docker use UTC timezone. In this post I’m gonna discuss about configuring Linux and Docker container timezones. All the source codes which related to this post available in gitlab.
In order to set the timezone in Docker container we can set the TZ environment variable with the timezone inside the Docker container. To use the TZ environment variable we need to install the tzdata package in docker container.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com