question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows 10 containers not starting

See original GitHub issue

ENV - OS - Windows 10 Ent Docker-for-windows : Version 18.06.0-ce-win72 (19098) Channel: stable 5513f91

I am getting some errors while trying to run the frontend docker-compose file.

command used docker-compose -f docker-compose-with-frontend.yml up -d

Please find the logs below

Creating portainer    ... error
Creating wptserver ...
Creating graphite  ...
Creating influxdb  ...
Creating telegraf  ...
Creating jmeter    ...
Creating sitespeed.io ...
Creating telegraf     ... error

ERROR: for portainer  Cannot create container for service portainer: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\doCreating wptserver                ... done
Creating graphite                 ... done
Creating influxdb     ... done
Creating docker-dind  ... error
Creating jmeter       ... done
Creating sitespeed.io             ... done
\\docker.sock:/var/run/docker.sock"\nis not a valid Windows path'
Creating influxdb-timeshift-proxy ... done
Creating wptagent                 ... done
Creating grafana                  ... done
Creating grafana-setup            ... done

ERROR: for portainer  Cannot create container for service portainer: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\docker.sock:/var/run/docker.sock"\nis not a valid Windows path'

ERROR: for telegraf  Cannot create container for service telegraf: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\docker.sock:/var/run/docker.sock"\nis not a valid Windows path'

ERROR: for docker-dind  Cannot create container for service docker-dind: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\docker.sock:/var/run/docker.sock"\nis not a valid Windows path'
ERROR: Encountered errors while bringing up the project.

Also, getting an error which is as follows:

Get:1 http://deb.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1055 kB]
debconf: delaying package configuration, since apt-utils is not installed

Could you please help me out? Do you think it is better to create a different branch for windows?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
serputkocommented, Aug 7, 2018

@rahulmr yes, it’s ok

0reactions
rahulmrcommented, Aug 7, 2018

Thanks a lot it is working now! You can close it . Just one query why I always see the docker-dind container in restarting status? Is it as per design or am I missing something?

PS D:\perfo-fw\perfo-test-fw> docker-compose -f .\docker-compose-with-frontend.yml ps
          Name                        Command                 State                                                  Ports
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
docker-dind                dockerd-entrypoint.sh            Restarting

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to Do if Docker Desktop for Windows Does Not Start
Remove Docker in “Add or remove programs”; Restart your computer; Install Docker as Administrator (and not by running the installer directly).
Read more >
Troubleshooting Windows Containers | Microsoft Learn
Having trouble setting up your machine or running a container? We created a PowerShell script to check for common problems.
Read more >
Docker for windows won't launch
Has anyone had any problems with Launching Docker for Windows lately, haven't started docker for a couple of days but now it wont...
Read more >
Solution To Docker Not Starting in Windows 10 - DZone
If Docker for Windows 10 is stuck loading in the 'Starting' screen, it could be because your WSL2 installation was not completed properly....
Read more >
How To Install Docker Desktop And Troubleshoot Issues In ...
Type and search Services in the windows search box or open run then type services.msc and click Ok. Then you will see a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found