Docker for MacでCannot start service xxx: Mounts deniedのエラーとなる原因

概要

Docker For Macをバージョン3.0.0にアップデートしたところ、以下のようなエラーが表示されコンテナを起動することができなくなった。

ERROR: for xxxxx Cannot start service xxxxx: Mounts denied: approving /Users/xxxx/xxxx: file does not exist
ERROR: Encountered errors while bringing up the project.

2021年3月26日追記

mysqlのコンテナを起動しようとしたところ、Different lower_case_table_names settings for server ('2') and data dictionary ('0').となり起動できなかった。
下記の解決方法を試したところ、無事起動できた。

解決方法

Preference⇒Experimental Features⇒Use gRPC FUSE for file sharingを無効にする。 

参考サイト

https://github.com/docker/for-mac/issues/5115


【1つ新しい記事】

【1つ古い記事】

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です