HOWTO: set the timezone in LXD containers

lxd

#1

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,
https://blog.simos.info/how-to-set-the-timezone-in-lxd-containers/

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