Docker Community Forums

Share and learn in the Docker community.

Docker container inspect wrong created time / time in container (Ubuntu 18.04)


(Freedox) #1

I’m having an issue with docker on Ubuntu 18.04, i’m using the snap version of docker.
I’m trying to run sickrage with docker. Had it up and running this afternoon but found out system time was incorrect, on both host and docker. My mistake so i changed the system time with timedatectl.
After this my sickrage kept running into issues and after hours of research it seems that even when creating the container from scratch, after purge, and even removal of docker via snap, it still gets the wrong time.
I can tell since the created date keeps being an hour of my current time.
Because of this the python script inside the container also runs into problems.
It seems to me that after purging containers, images and volumes in docker, and even reinstalling docker, this issue should be fixed. It isn’t though.
Why?