LoginSignup
0
0

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. エラーが出る問題を解決する

Posted at

状況

docker-compose.ymlがあるディレクトリで

$ docker compose up -d

を実行したが、以下のようなエラーが出る。

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

原因

Dockerデーモンが起動されていない。

Dockerデーモンとは、コンテナを管理するために常駐するプロセスのこと。

解決策

Docker Desktop(GUIアプリケーション)を起動させるとうまくいった。

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