I am sorry to ask again stupid questions but I didn’t find any answer.
After I created and configured my first container I noticed that the time zone is set to UTC. I set the Europe/Berlin time zone to the default profile but this didn’t change the zone for the already created container.
Afterwards I used the following command in order to add the timezone to the container
lxc config set Ubuntu2004-Master environment.TZ Europe/Berlin
I checked the time zone with the following command
lxc exec Ubuntu2004-Master -- date Sat Jul 17 17:16:43 CEST 2021
So all looks fine, but when I use the lxc shell command and then use the date command within the container the time still seems to be set to the UTC time.
date Sat Jul 17 15:17:03 UTC 2021
Does anyone have an idea what I am doing wrong ?