What I checked when I installed Docker Hub in a Windows 10 home environment but it did not start

I want to create a home PC verification environment Install Docker Hub At that time, docker run hello-world could not be executed, so I will summarize the contents I tried variously

Conclusion ・ Check if Docker is running

environment ・ Windows10 home

First, install by referring to this article [I tried Docker Desktop for Windows for Windows 10 Home as soon as possible] (https://techracho.bpsinc.jp/ebi/2020_03_27/90477)

I completed the installation of Docker Hub and tried hello-world, but it did not start

C:\Users\name>docker run hello-world
docker: error during connect: This error may indicate that the docker daemon is not running.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create: open //./pipe/docker_engine: The system cannot find the file specified.
See 'docker run --help'.

I get an error like this When I check the error, it seems that it can not be connected because the environment variable is not set correctly

If you look it up, you will reach the following page [Error in Docker for Windows] (https://qiita.com/Y-Kanoh/items/180e73c47970ea9bf5bc) [Network error with docker] (http://acchi-muite-hoi.hatenablog.com/entry/2016/04/26/223559) [windows: docker: command not found( docker not added to path)] (https://github.com/docker/toolbox/issues/260)

I set the environment variable from the command, but I searched the environment variable from the setting and set the folder where Docker was installed in PATH from there

I set the environment variable and execute hello-world again, but I get the above error and cannot execute it. Even if I reinstall it once and try to execute it, it is in the same state

Further search hits the following page [An error occurs when executing the docker command in a Windows 10 environment] (https://ja.stackoverflow.com/questions/63492/windows10%E3%81%AE%E7%92%B0%E5%A2%83%E3%81%A7-docker-%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%A8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%99%E3%82%8B)

The answer to this stack overflow was "Isn't Docker Desktop running?" And when I saw the Docker mark on the taskbar, it wasn't running in red ...

When I started Docker, hello-world was completed.

Recommended Posts

What I checked when I installed Docker Hub in a Windows 10 home environment but it did not start
What to do when a could not find driver appears when connecting to a DB in a Docker environment
About what I did when creating a .clj file in Clojure
What I did when the DB did not start with docker-compose up
What I did when I was addicted to the error "Could not find XXX in any of the sources" when I added a Gem and built it
A memo when building a Rails 5.2 development environment using Docker Desktop + WSL2 on Windows 10 Home
What I learned when building a server in Java
When a breakpoint is set in IntelliJ IDEA but it does not stop in debugging [Gradle]
Resolve CreateProcess error = 206 when running Java in a Windows environment
What I did when I stumbled on IntelliJ gradle 2.2 → 2.6 environment migration
[java] What I did when comparing Lists in my own class
Building a haskell environment with Docker + VS Code on Windows 10 Home
I got a Permission Denied error when I put Laravel in Docker
Pay.JP Solution when it can be done locally but it does not work well in the production environment
I built a rails environment with docker and mysql, but I got stuck
I tried to build a Firebase application development environment with Docker in 2020
What I did when JSF couldn't display database information in the view