LoginSignup
0
0

More than 1 year has passed since last update.

DockerでMySQLコンテナがRestartingになる現象

Posted at

発生した事象

    Remove MYSQL_USER="root" and use one of the following to control the root user password:
    - MYSQL_ROOT_PASSWORD
    - MYSQL_RANDOM_ROOT_PASSWORD

ログにこんなのが出てステータスはRestartingのまま。

解決方法

バージョンを固定する。

Dockerfile

FROM mysql:5.6
↓
FROM mysql:5.6.XX
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