diff --git a/pkg/rancher-desktop/backend/images/mobyImageProcessor.ts b/pkg/rancher-desktop/backend/images/mobyImageProcessor.ts index af2e9a5d520..08409b887d9 100644 --- a/pkg/rancher-desktop/backend/images/mobyImageProcessor.ts +++ b/pkg/rancher-desktop/backend/images/mobyImageProcessor.ts @@ -31,6 +31,10 @@ export default class MobyImageProcessor extends imageProcessor.ImageProcessor { protected async runImagesCommand(args: string[], sendNotifications = true): Promise { const subcommandName = args[0]; + if (this.executor.backend !== 'wsl' && !args.includes('--context')) { + args.unshift('--context', 'rancher-desktop'); + } + return await this.processChildOutput(spawn(executable('docker'), args), subcommandName, sendNotifications); }