Docker image built in the local success, but when running up, mirror the internal Mysql start error

docker version Client version: 0.9.1 Go version (client): go1.2.1 Git commit (client): 3600720 Server version: 0.9.1 Git commit (server): 3600720 Go version (server): go1.2.1 git clone https://github.com/sameersbn/docker-redmine.git cd docker-redmine docker build -t xx/redmine . docker logs -f $(docker run -d xx/redmine) User: root Password: eiThoo9iecoa sshd: started mysqld: ERROR (abnormal termination) 

See it Is mysqld to start the problem.

2 Solutions collect form web for “Docker image built in the local success, but when running up, mirror the internal Mysql start error”

I have a mirror in the maintenance of a mysql, which involves the handling of the volume code, you can run to see if this mirror can run properly.
https://github.com/tutumcloud/tutum-docker-mysql

In addition, I wrote another blog about the introduction of mysql volume, you can refer to: http://blog.tutum.co/2014/05/27/containerize-your-database-volume-with-tutum-mysql- Images /

I have encountered this problem, I do not add-v / host / data: / var / lib / mysql parameters can be activated after the normal container / var / lib / mysql mysql is not caused by the authority of the problem, and then It is not like this

Heads up! This alert needs your attention, but it's not super important.