Skip to content
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

Cannot start on Raspberry Pi #57

Closed
RomainTT opened this issue Aug 13, 2021 · 4 comments
Closed

Cannot start on Raspberry Pi #57

RomainTT opened this issue Aug 13, 2021 · 4 comments

Comments

@RomainTT
Copy link

Hello,

Since version 10.5.8, the image does not run correctly on my Raspberry Pi 4.

The container stops with the following error:

This MySQL server doesn't support dates later than 2038

Indeed, when I run the command date in a shell in this container, I got a series of numbers with no meaning. When I run this same command on version 10.4.17, I get a correct date string.

I don’t know why but there is a problem with time since that version.

@MartyLake
Copy link

You have to also mount as a volume - /etc/localtime:/etc/localtime:ro
I found this trick from https://thingsiforgetblog.wordpress.com/2019/03/30/docker-compose-yaml-examples/

@dominictayloruk
Copy link
Member

Or just run yobasystems/alpine-mariadb:10.5.9

If you are on a raspberry pi 4, then using a 64bit os mitigates this problem also. Only affected systems are 32bit.

@dominictayloruk
Copy link
Member

Also see here as it has already been discussed.

#47

@RomainTT
Copy link
Author

Thank you, I didn’t see #47, I should be able to make it work then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants