Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

493
Views
Docker no pudo iniciarse

Instalé Docker y luego inicié Docker. Docker dice que "Docker se está iniciando". Luego, Docker dice "Docker no se pudo iniciar". ¿Por favor, podrías ayudarme?

Detalle del error de Docker:

 System.InvalidOperationException: Failed to deploy distro docker-desktop to C:\Users\---\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: The operation could not be started because a required feature is not installed. stderr: at Docker.ApiServices.WSL2.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.ApiServices\WSL2\WslCommand.cs:line 146 at Docker.Engines.WSL2.WSL2Provisioning.<DeployDistroAsync>d__17.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.WSL2.WSL2Provisioning.<ProvisionAsync>d__8.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 78 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.WSL2.LinuxWSL2Engine.<DoStartAsync>d__25.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 99 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.TaskExtensions.<WrapAsyncInCancellationException>d__0.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 29 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.ApiServices.StateMachines.StartTransition.<DoRunAsync>d__5.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.Engines.Engines.<WaitCurrentTransitionsAsync>d__30.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\Engines.cs:line 358 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.Engines.<RestartAsync>d__26.MoveNext() in C:\workspaces\PR-15138\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\Engines.cs:line 250
over 4 years ago · Santiago Trujillo
9 answers
Answer question

0

El problema está en WSL , ya que deja de responder y devuelve un error de servicio. Siga los pasos a continuación

 1. Uncheck the Windows Subsystem for Linux in Windows Features 2. Restart 3. Turn the feature back on 4. Re-apply the WSL2 update 5. Restart
over 4 years ago · Santiago Trujillo Report

0

Mi solución:

Revisé los requisitos previos para Docker. He aplicado el segundo paso en los requisitos previos. ( Subsistema de Windows para la instalación de Linux con pasos de instalación manual ) Me ha solucionado el error.


Si obtiene un error como este (durante este proceso de instalación):

WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 The operation could not be started because a required feature is not installed. (Encontré este error.) Por favor, aplique esto .

 These steps are quoted from the "this" named hyperlink above. 1. Open "Windows Security" 2. Open "App & Browser control" 3. Click "Exploit protection settings" at the bottom 4. Switch to "Program settings" tab 5. Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it 6. Click "Edit" 7. Scroll down to "Code flow guard (CFG)" and uncheck "Override system settings" 8. Start vmcompute from powershell "net start vmcompute" 9. Then go back and command wsl --set-default-version 2

He arreglado mis problemas así. Buena suerte :)

over 4 years ago · Santiago Trujillo Report

0

Lo que solucionó esto para mí fue

  • Presione la tecla de Windows, escriba "cmd", presione enter
  • Haga clic derecho en la barra de menú, seleccione "Propiedades"
  • Desmarque "Usar consola heredada"
over 4 years ago · Santiago Trujillo Report

0

Docker no pudo iniciar la actualización de WSL 2 Acabo de hacer esto en powershell

 wsl --install -d Ubuntu wsl --update wsl --shutdown
over 4 years ago · Santiago Trujillo Report

0

Para tu información, la respuesta de jprism funcionó para mí.

Mis problemas eran...

  • La instalación de Docker funcionó pero no se inició correctamente, recibí el mensaje "WSL no instalado".
  • Probé las instrucciones de instalación de WSL de https://docs.microsoft.com/en-us/windows/wsl/install
  • No se encontró la instalación de WSL predeterminada desde la sesión de PS. No se ejecutaría desde la línea de comando sin especificar la distribución. Funcionó cuando especifiqué explícitamente la distribución predeterminada con el argumento -d
  • Subsistema WSL habilitado según https://www.windowscentral.com/install-windows-subsystem-linux-windows-10
  • Habilitó todas las opciones de Hyper-V en el Panel de control> Programas y características> Activar o desactivar las características de Windows además del subsistema WSL
  • Finalmente, según jprism, modificó la configuración de Docker para usar Hyper-V
over 4 years ago · Santiago Trujillo Report

0

La combinación de la respuesta anterior y la instalación de un nuevo destro funcionó para mí.

  1. Desinstalar instalación existente
  2. Instalar con privilegio de administrador
  3. Reiniciar
  4. Siga la respuesta aceptada aquí https://answers.microsoft.com/en-us/insider/forum/all/wsl-2-installing-linux-failed-error-code/bae391d1-4215-4d93-b0c4-3d96404a7c74
  5. Instale un destro de Linux siga este https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package
  6. Inicie el escritorio de Linux como administrador
over 4 years ago · Santiago Trujillo Report

0

Estaba enfrentando el mismo problema en mi escritorio de cooperación de Windows. Desafortunadamente, la mayoría de los cambios en la configuración de Windows no están disponibles para los usuarios y están controlados por el equipo de TI. Lo que hice para que la ventana acoplable se ejecutara es

  • Abra el escritorio de Docker
  • Ir a la configuración
  • Desactive "Usar el motor basado en WSL 2", que cambia a Hyper-V heredado

Sé que esto no es ideal, pero al menos consiguió que docker funcionara.

over 4 years ago · Santiago Trujillo Report

0

En mi escenario, necesitaba instalar WSL 2 y mi computadora no lo tenía. Instalarlo hizo que Docker se ejecutara correctamente. Pruebe los pasos a continuación si está instalando Docker por primera vez.

Primero, necesitamos activar WSL desde Windows.

Panel de control -> Programas -> Activar o desactivar funciones de Windows

tienes que comprobar

  • Subsistema de Windows para Linux
  • Plataforma de hipervisor de Windows
  • Plataforma de máquina virtual

Luego haga clic en Aceptar

Activar o desactivar las funciones de Windows

Después de eso, debe habilitar WSL 1 y actualizarlo a WSL 2 ( https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps )

Para instalar WSL 1 que viene integrado, abra PowerShell como administrador y ejecute:

 dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Después de eso, descargue la actualización WSL 2 de Microsoft. Use debajo de esto:Paquete de actualización del kernel WSL2 Linux para máquinas x64

Después de instalar el paquete anterior, debe configurar WSL 2 como la versión predeterminada.

Abra PowerShell como administrador y ejecute:

 wsl --set-default-version 2

Ahora reinicie su computadora. Ahora su ventana acoplable debería funcionar.

Tenga en cuenta que para actualizar a WSL 2, debe ejecutar Windows 10.

  • Para sistemas x64: Versión 1903 o superior, con Build 18362 o superior.
  • Para sistemas ARM64: Versión 2004 o superior, con Build 19041 o superior.
over 4 years ago · Santiago Trujillo Report

0

esto te puede ayudar

 & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon

ejecuta esto en powershell.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!