Docker Community Forums

Share and learn in the Docker community.

Time doesn't adjust over sleep


(Kevin Littlejohn) #1

Expected behavior

When my laptop sleeps and then resumes, the time in the docker guest OS should update along with the system time

Actual behavior

The time doesn’t update - it stays the same as it was when the machine slept.

Steps to reproduce the behavior

  1. start docker
  2. sleep your laptop
  3. resume your laptop
  4. note that the time in a docker container is incorrect