Using Windows 11 with Docker Desktop 4.4.3 (73365):
Docker seems to highjack Control-r for Docker restart.
Is there a way to prevent it? I prefer Reverse Search in terminals with ctrl-r
Thanks a lot
I didnât know there was a new version but now I upgraded it to the same version on my Windows 11. It didnât do anything on Ctrl+r
. I was ready to say that it was a bad idea to implement a feature like that, but it seems there is no such feature at least not by default. I even restarted my Windows to see if that matters.
In which terminal you try Ctrl+r
? Powershell? WSL2? Container terminal on Docker Desktop?
Is this restarting the Docker daemon or just a container? How do you know that it was restarted?
Itâs no longer doing being captured - there was a bugfix for this behaviour in 4.4.3:
- Disabled Dashboard shortcuts to prevent capturing them even when minimized or un-focussed. Fixes docker/for-win#12495.
So I guess I hadnât fully restarted Desktop and hadnât seen the fix yet.
I am confused. You wrote that the error happens using Docker Desktop 4.4.3 (73365) which is exactly the version I have now. Now you say it was fixed and I see that a relase note added to 4.4.3 mentioning that CTRL+R shortcut was disabled. So are you sure you used 4.4.3 when the restarting happened? How could a patch version be released using the same version number?
I can confirm as the last upgrade fully resolves this âfeatureâ. After a computer restart Docker Desktop wonât pops up any context window regarding.
You can also check this code snipet in C:\Program Files\Docker\Docker\frontend\resources\app.asar between lines 3755 and 3810, search for âCmdOrCtrl+Râ.
message: âRestart Docker Desktopâ,
detail: âYou are about to restart Docker Desktop. A restart stops all running containers. No data will be lost otherwise.\n\nDo you want to continue?â,
Yes itâs fixed for me.
I think the important part is that you have to restart your machine, not just Docker.
See my edit.
I think it needs a machine restart, not just docker restart.