2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

M1 MacでLaradockのMySQLが動かない時に対処した方法

Posted at

M1MacでLaradockのMySQLが動かなかった時に対処した方法です。

##Dockerfileの修正
~\laradock\mysql\Dockerfile

FROM mysql:${MYSQL_VERSION}
この行を下記のように修正
FROM --platform=linux/x86_64 mysql:${MYSQL_VERSION}

##DockerDesktop
設定画面で下記のチェックを外す
スクリーンショット 2021-08-10 0.42.33.png

##参考にした記事
M1Mac環境でDockerのMySQLを動かす
https://qiita.com/toyoyuto618/items/f225e1b2ab22ca5adf33

Mysql not starting in a docker container on MacOS after docker update
https://stackoverflow.com/questions/64146845/mysql-not-starting-in-a-docker-container-on-macos-after-docker-update

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?