-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong date in docker container #290
Comments
I'm not able to reproduce $ date
Tue Sep 7 17:03:27 UTC 2021
$ docker run -it --rm redis:6.0-alpine ash
Unable to find image 'redis:6.0-alpine' locally
6.0-alpine: Pulling from library/redis
a0d0a0d46f8b: Pull complete
a04b0375051e: Pull complete
cdc2bb0f9590: Pull complete
d0892b8dbfbb: Pull complete
2708df91552a: Pull complete
a57392b26282: Pull complete
Digest: sha256:61f3e955fbef87ea07d7409a48a48b069579e32f37d2f310526017d68e9983b7
Status: Downloaded newer image for redis:6.0-alpine
/data # date
Tue Sep 7 17:03:32 UTC 2021 See also #138 |
It's related to this problem: https://stackoverflow.com/questions/66091978/corrupt-date-with-redis6-alpine-on-raspi
Older versions are fine:
|
Yep, this is completely expected; see https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements You might also run into https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2 |
(Closing since it's not something we can fix in the image -- it's something that has to be fixed on your container host.) |
I'm running redis:6.0-alpine on Raspberry PI.
I noticed a wrong date in the container:
I just pull it and run it:
This causes problems with some Redis commands.
The text was updated successfully, but these errors were encountered: