Error You might need to start Docker for Windows How do i start the daemon

+2 votes

Trying to use Docker on my Windows 10 SurfaceBook 2 for the first time. In VS Code tried running:

$ ./manage start --logs 

that returns

ERROR: Couldn't connect to Docker daemon.

services shows Docker for Windows Service is running (but services disables restart option).

upgraded to the latest version of dockers for windows today 

ran:

$ docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:23:10 2020
 OS/Arch:           windows/amd64
 Experimental:      false
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/version: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

in an elevated powershell, tried instructions on https://www.edureka.co/community/51478/how-to-start-a-docker-daemon-manually, but "dockerd not recognized" was all i could see.

not sure what to do next...

^m

May 19, 2020 in DevOps & Agile by mcorning
• 140 points

recategorized May 19, 2020 by Gitika 9,085 views

1 answer to this question.

0 votes

Hi,

If you are running containers with Docker, it implies you are running the Docker daemon. This daemon currently requires privileges. To avoid this try to run with root access or set permission for that file.

$ chmod +x /var/lib/docker
answered May 19, 2020 by MD
• 95,460 points

Related Questions In DevOps & Agile

0 votes
1 answer
0 votes
2 answers

How to customize the RAM allocation on Docker for Windows?

Try this: docker update --cpu-shares 5120 -m 3000M ...READ MORE

answered Dec 7, 2018 in DevOps & Agile by Maverick
• 10,840 points
6,559 views
+1 vote
2 answers

How do I run Apache server from Docker without mapping to a location?

If you're seeing a 500 error, that's ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by lina
• 8,220 points
3,648 views
+3 votes
2 answers

How do I set max lifetime for Docker Container?

There is one more way which you ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by Kalgi
• 52,340 points
4,824 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,729 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP