以下の内容はhttps://www.pospome.work/entry/20140807/1407389896より取得しました。


Docker の CMD, ENTORYPOINT で MySQL が起動しない

/usr/bin/mysqld_safe を実行する前に初期化処理を実行しないといけない。
mysql_install_db を実行してあげればOK。

FROM cd934e0010d5
MAINTAINER f_takahashi
RUN yum -y install mysql-server
RUN chkconfig mysqld on
CMD ["/usr/bin/mysqld_safe"]

FROM cd934e0010d5
MAINTAINER f_takahashi
RUN yum -y install mysql-server
RUN chkconfig mysqld on
RUN /usr/bin/mysql_install_db
CMD ["/usr/bin/mysqld_safe"]



以上の内容はhttps://www.pospome.work/entry/20140807/1407389896より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14