6
2

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 1 year has passed since last update.

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Posted at

こんなんでた。
グーグル先生だといろいろ面倒なこと書いてる方々がいたけど、簡単に治ったのでメモ

docker compose start で起動すると

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Docker Desktopから起動しようとすると

Cannot start Docker Compose application. Reason: exit status 1

さて困った、グーグル先生に聞くと、なんとかのログ見ろだと、Demon起動し直せだの、Docker Desktop起動し直せだの。いろいろやってみたがダメで。結局のところ、以下の方法で簡単になおった

DockerDesktopの設定
Enable integration with my default WSL distro にチェックを入れる
Ubuntu-20.04を ONにする
それだけ。

スクリーンショット 2023-03-30 105231.jpg

何も設定を変更した覚え無いのになぜか設定が変わってた。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?