1
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?

macOSでminikubeコマンド実行時にdockerがoperation not permittedに。

Last updated at Posted at 2024-05-10

どハマりしたので、個人的なメモ。

macOSにて、

$ minikube start --mount --mount-string="$(pwd):/localmnt" --driver docker ~

のような minikubeでstartコマンドを実行した時に、

内部で実行されるdockerコマンドが以下のような operation not permitted. のエラーになった。

stderr:
docker: Error response from daemon: error while creating mount source path '/host_mnt/Users/~': mkdir /host_mnt/Users/~: operation not permitted.

こちらのようなSIPを無効にすることで一旦解消できましたが、セキュリティシステムを無効化するのも怖いので、

https://qiita.com/KEINOS/items/0366f1c281b574a79cfb
こちらを参考にターミナルとdockerだけ許可するようにして解決した。

1
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
1
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?