-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
mysql container always restarting #489
Comments
Related
#69 (comment) |
I'm running docker toolbox to use virtual box with docker and Windows 10. Where do I add --innodb-use-native-aio=0 I'm just trying to start mysql/mysql-server:5.7.23 Edit: Using kitematic.. can't set command. |
You give it as the command argument, so after the image name Examples: |
I'm an archlinux user with just docker from official repo,
|
Sounds like you probably had some corruption or a botched initialization? (Did you start the image and get partway through the initialization process before it was restarted and/or killed? Have you tried wiping out the data directory and re-initializing and/or initializing a fresh new database to test?) |
Yes, I totally destroy every container / image / volumes and rebuild everything, and also did the same in another directory to get a new data folder created :/ |
Can you give us an |
Solved : I delete my |
Cool, glad you got it figured out. |
In windows 10, the relative directory(./xxx:/var/lib/mysql) will cause endless restarting. So, I change to use volume as below: services: volumes: It works fine. |
Hi, |
Hi,
and the error is
|
Hi,
I just tried the mysql docker image, with a docker-compose.yml file, and the mysql container is always on restart status.
Here it's the simple mysql part of the docker-compose.yml :
and here it's the logs from :
docker logs --tail 5 --follow --timestamps mysqldb
The text was updated successfully, but these errors were encountered: