Docker mirror was successfully built locally, but Mysql inside the mirror started incorrectly when it was running.

  docker, question
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
 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’s mysqld startup.

I am maintaining a mysql image, which contains processing code related to volume. You can run it to see if the image can work properly.

In addition, another blog I wrote contains an introduction to mysql volume, which can be consulted: