docker versionClient version: 0.9.1Go version (client): go1.2.1Git commit (client): 3600720Server version: 0.9.1Git commit (server): 3600720Go version (server): go1.2.1git clone https://github.com/sameersbn/docker-redmine.gitcd docker-redminedocker build -t xx/redmine .docker logs -f $(docker run -d xx/redmine)User: root Password: eiThoo9iecoasshd: startedmysqld: ERROR (abnormal termination)
看到吧。是mysqld启动问题。
解决方案
我有在维护一个mysql的镜像,其中有涉及volume的处理代码,你可以运行看看是否这个镜像可以正常运行。
https://github.com/tutumcloud/tutum-docker-mysql
另外我写的另一篇blog里有关于mysql volume的介绍,可以参考一下:http://blog.tutum.co/2014/05/27/containerize-your-database-volume-with-tutum-mysql-images/