Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func isDesktopContext(ctx context.Context, cli *command.DockerCli) bool {
if strings.Contains(serverInfo.KernelVersion, "-microsoft-standard-WSL2") {
// We can use Docker Desktop from within a WSL2 integrated distro.
// https://github.com/search?q=repo%3Amicrosoft%2FWSL2-Linux-Kernel+path%3A%2F%5Earch%5C%2F.*%5C%2Fconfigs%5C%2Fconfig-wsl%2F+CONFIG_LOCALVERSION&type=code
return true
return serverInfo.OperatingSystem == "Docker Desktop"
}
return false
}
Expand Down