LoginSignup
0
0

More than 3 years have passed since last update.

【Docker】docker-maven-pluginでdocker:startするとContainer stopped with exit code 141 unexpectedly after ${time}ms while waiting on log out 'mysqld: ready for connections']で落ちる問題への対処【Maven】

Last updated at Posted at 2020-05-14

TL;DR

ボリュームを使い切っていたことが原因だったため、クリーンアップしたら解決しました。

調査方法に関しての備忘用に書きます。

利用しているプラグイン

今回の件に直接は関係しませんが、利用しているプラグインはfabric8io/docker-maven-pluginです。

調査経緯

そのまま実行してもログには特に具体的なエラーは表示されず、何がどうエラーになっているか分からなかったため、mvn docker:start -Xとしてfull debug loggingを有効にして実行しました。
すると以下のようなログを見つけました。

[ERROR] InnoDB: Write to file ./ib_logfile101failed at offset 6291456, 1048576 bytes should have been written, only 393216 were written. Operating system error number 28. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.' [Pattern: mysqld: ready for connections] [thread: 17]

要するにディスク周りを調べろということだったので色々検索し、docker volume pruneするとエラーが解消しました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0