Reputation: 908
I'm on Windows 10 Entreprise, version 1909 (18363.1801) and I've done all available updates before next steps.
I've tried to install Docker Desktop 4.0.1 following these instructions. I've enabled WSL2 feature, I've installed the linux kernel update package, then I've installed Docker Desktop, following instructions here without any error.
When I try to start Docker Desktop, I accept the terms, then an error occurs :
System.InvalidOperationException: Failed to set version to docker-desktop: exit code: -1
stdout: Paramètres de console non pris en charge. Pour pouvoir utiliser cette fonctionnalité, la console héritée doit être désactivée.
Full stacktrace here
Did I've missed something during installation ? What should I do to be able to use Docker Desktop ?
I've tried to uninstall then install again Docker Desktop, but it doesn't work.
Upvotes: 4
Views: 1077
Reputation: 908
As Noam Yizraeli suggested, disable legacy console worked for me (tutorial here).
I've disabled legacy console on PowerShell Console and restarted Docker, then everything's working now.
I've followed these steps:
Thanks again to Noam Yizraeli.
Upvotes: 1
Reputation: 5404
The OP had the lagacy console enabled creating a known issue with wsl backend. After disabling it using this link the issue was resolved
Upvotes: 1