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?

docker build -f prd/Dockerfile -t hoge_rails . error during connect: This error may indicate that the docker daemon is not running.: Post の対処法

Posted at

Dockerをビルドする際に以下のエラーが発生しました。

error
 docker build -f prd/Dockerfile -t hoge_rails .
error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=prd%2FDockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=blog_rails&target=&ulimits=null&version=1": open //./pipe/docker_engine: The system cannot find the file specified.
バージョン
Docker -v
Docker version 20.10.13, build a224086

解決策

下記の右上の虫アイコンを押下し、Restart Docker Desktopを実行したら解決しました。

image.png

image.png

参考

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?