Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows Docker daemon not started after machine restart #30239
Docker daemon was not running after a restart of the Windows VM.
Steps to reproduce the issue:
Describe the results you received:
Also verified from Task Manager -> Services that the service named "docker" has a status "Stopped".
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
This output is shown in the case when the Docker daemon is actually running.
Additional environment details (AWS, VirtualBox, physical, etc.):
For me, this error was resolved after I removed 'daemon.json' file in "%programdata%\docker\config"
The content in my 'daemon.json' is the following:
I created this manually as part of some testing. But after I restarted the server, I started to get the error in this question
I needed to create a VM as follows, to stop getting that error:
**For the command below, do whatever comes out in the comment that is printed when you execute docker-machine env box
When I test my installation with :
Even for me it solved by following the above steps.
Basically the created VM's for Docker will be in saved status. So we need to restart them.
Once you have restarted the docker start running
For me, when I ran the following command,
and then, simply rerunning the eval command solved the problem