LoginSignup
2
2

More than 5 years have passed since last update.

ElasticBeanstalk Multicontainer Docker上でMySQLが起動しない問題の解決法

Posted at

eb local run で起動した場合は正常に起動するが、EB上に配置するとログに MySQL init process in progress... が複数回出力されてコンテナが落ちている。これはmysql:5.6, mysql5.7などバージョンを変更しても同様だった。

~
Database initialized
MySQL init process in progress...
/usr/local/bin/docker-entrypoint.sh: line 43:    64 Killed                  "$@" --skip-networking
MySQL init process in progress...
MySQL init process in progress...
MySQL init process in progress...
MySQL init process in progress...
MySQL init process in progress...
MySQL init process in progress...
MySQL init process in progress...
MySQL init process in progress...

原因は不明だが、コンテナのメモリを256MBから1GBにあげたら解決した。

2
2
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
2
2