Setting Timezone with Maven Jib-Plugin in Docker Image
I run a dockerized Spring Boot Application on a Raspberry Pi Zero (yes…that’s possible). It records the current temperatures to a MariaDB (which is running on another RPi). At some point I noticed that the time stamps in the database had a time difference of exactly minus two hours. However, the docker host had the correct time zone (CEST, Europe/Berlin). The running Docker Container had the UTC timezone, though: $ docker exec 9106cb56b3f6 date Thu Apr 4 20:00:00 UTC 2020 ...