I have a CentOs host running a docker Debian container.
The container has the wrong localtime and timezone: how can I synchronize it with the host date?
I'm trying with mounting volumes on the docker-compose with /etc/localtime but it doesn't work.
The solution I prefer should be one of them:
- set a particular ENV in the Dockerfile
- mount properly volumes in the docker-compose.yml