LoginSignup
2
0

More than 3 years have passed since last update.

M1 MacでDocker Preview版が起動しなくなった。

Last updated at Posted at 2021-01-22

事象

ある日突然Docker Preview版が起動しなくなりました。
何もしてないのに...

解決方法

以下のIssueを参考にしました。

まず以下を試しました

Kubernetesを無効化(効果なしでした)

k8s is known not to work, I had to edit ~/Library/Group\ Containers/group.com.docker/settings.json ("kubernetesEnabled": false, "kubernetesInitialInstallPerformed": false) to get the dashboard to respect that I wanted to back out that change
that said, the perpetual starting state problem happened to me long after I tried to enable k8s
edit: when docker was working, I was using k3d successfully

で、以下を試したところ起動しました(FireWallをOFFにする)

ちなみにファイアーウォールオプションから、Docker Previewを外部アクセス許可してもだめだったので、ファイアーウォール自体をオフにしないとダメっぽいです。

Try to close the firewall on mac m1 and then restart the docker.

結論

原因はわかりませんが、Mac側のファイアウォールが起動を妨げていた模様。

セキュリティ的に問題ありそうですが、一応は動くようになったので解決です。

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