MySQL does not follow Ubuntu System Time Zone
You say you run mysql inside docker. Docker needs timezone as an environment variable as follows:

Add the following to mysql startup command in docker:

-e TZ='America/New_York' 


https://github.com/docker-library/mysql/issues/320