I have dockers running on Linode servers. At times, I see that the time is not right on the dockers. Currently I have changed the run script in every docker to include the f
Add /etc/localtime:/etc/localtime:ro to the volumes attribute:
/etc/localtime:/etc/localtime:ro
volumes
version: '3' services: a-service: image: service-name container_name: container-name volumes: - /etc/localtime:/etc/localtime:ro