HOWTO: set the timezone in LXD containers

When you launch a new LXD container, it gets the default timezone Etc/UTC.
This timezone is stored inside the container, in the file /etc/timezone.

In the following post, it describes how to set the timezone to your preferred timezone,

As a tutorial, it demonstrates how to set/unset a configuration option (environment.*) per container or per groups of containers (profile).

2 Likes