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.

VS 2022 & Docker won't start up

See original GitHub issue

VS 2022 & Docker won’t start up, what could I be doing wrong?

[19:22:23 FTL] Program terminated unexpectedly (WebStatus)! System.ArgumentException: The path must be absolute. (Parameter ‘root’) at Microsoft.Extensions.FileProviders.PhysicalFileProvider…ctor(String root, ExclusionFilters filters) at Microsoft.Extensions.FileProviders.PhysicalFileProvider…ctor(String root) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.b__1_0(String contentRoot) at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider…ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration) at Microsoft.AspNetCore.WebHost.<>c.b__9_0(WebHostBuilderContext ctx, IConfigurationBuilder cb) at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors) at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at Program.<

$>g__BuildWebHost|0_0(IConfiguration configuration, String[] args) in C:\BlahBlah\eShopOnContainers\src\Web\WebStatus\Program.cs:line 28 at Program.$(String[] args) in C:\BlahBlah\eShopOnContainers\src\Web\WebStatus\Program.cs:line 8

Issue Analytics

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

github_iconTop GitHub Comments

erjaincommented, Feb 21, 2022

@josephwambura You can double-check on SQL(sqldata) image, it should be up before other services start running so that there are no connectivity issues. Further, you can also follow the instructions on windows-setup updated wiki page for more information. I am closing this issue, however, feel free to continue the conversation or reopen it if you are looking for more help.

nishanilcommented, Jan 18, 2022

Sometimes a failed startup can corrupt the entries in the databases. Can you delete all images and volumes or reset Docker and try again? I tried them on VS 2022, and it works as expected. Wait for the WebStatus project to show all the services healthy, before navigating to the Web Clients. There’s a known issue for the WebSPA app and Visual Studio that we are tracking it here:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio 2022 is unable to start application on docker
Visual studio 2022 is unable to start a ASP.NET Core project on docker, here is what I did: ... The error Unable to...
Read more >
Troubleshoot Docker client errors on Windows - Visual Studio
Right-click on the Docker icon on the task bar and select Settings. Select Docker Engine. Select Apply & Restart. These steps modify the ......
Read more >
[SOLVED] Docker Failed to Start - Docker Desktop for ...
Restart computer. Install Docker Desktop (make sure to install it with admin rights)
Read more >
Error: Docker Failed to Start – Docker Desktop for Windows
If you encounter an error while starting Docker Desktop for Windows, there are a few steps you can take to diagnose and fix...
Read more >
Open solution using Docker when Docker Desktop is not ...
1. Create an ASP.NET Core 3.0 C# MVC project. 2. Right click on the project -> 'Add' -> 'Container Orchestrator Support' -> 'docker-compose'...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found