codedocu.de

Docker: An error occurred: Containers feature is disabled. Enable it using the PowerShell script

 

Containers feature is disabled. Enable it using the PowerShell script (in an administrative PowerShell) and restart your computer before using Docker Desktop:

Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All

 

 

 

Docker: An error occurred: Containers feature is disabled. Enable it using the PowerShell script

 

Dann öffnet man PowerShell als Administrator und gibt den Befehl ein:

Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All


Docker: An error occurred: Containers feature is disabled. Enable it using the PowerShell script

 

Und nach dem Neustart sollte es funktionieren

Your Docker server host is configured for Linux, however your project targets Windows.

Would you like to switch Docker to Windows containers now

è yes

Docker: An error occurred: Containers feature is disabled. Enable it using the PowerShell script

 

Und danach sollte die Asp .Net Anwendung in Docker funktionieren und als https://localhost:51497 starten


Software Entwicklung Stuttgart Nürtingen
Suche Projekte C#, WPF, Windows App,ASP.Net, vb.Net, WinForms, SQL Server, Access, Excel