From 9fe073821cd4d879bb9a4e97f7c2ceece84af73c Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Catoire Date: Mon, 4 May 2026 15:50:40 +0200 Subject: [PATCH 1/2] docs: document how to remove sign-in enforcement Add a 'Remove sign-in enforcement' section listing the inverse step for each setup method (Windows registry key, Mac configuration profile, Mac plist, registry.json), with the exact paths used during setup. Helps admins reverse the configuration during testing, troubleshooting, or incident response. Closes #24943 --- .../enterprise/security/enforce-sign-in/methods.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/content/manuals/enterprise/security/enforce-sign-in/methods.md b/content/manuals/enterprise/security/enforce-sign-in/methods.md index 6d216b024525..305cb4493766 100644 --- a/content/manuals/enterprise/security/enforce-sign-in/methods.md +++ b/content/manuals/enterprise/security/enforce-sign-in/methods.md @@ -295,6 +295,20 @@ When multiple configuration methods exist on the same system, Docker Desktop use 1. plist file (Mac only) 1. registry.json file +## Remove sign-in enforcement + +To remove enforcement, undo the configuration for the method you used: + +- **Windows registry key**: Delete the `allowedOrgs` value, or remove the entire `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Docker\Docker Desktop` key. If the key was deployed with Group Policy, remove it from the GPO and run `gpupdate /force` on target machines. +- **Mac configuration profiles**: Remove the profile through your MDM solution, or from **System Settings** > **General** > **Device Management**. +- **Mac plist file**: Delete `/Library/Application Support/com.docker.docker/desktop.plist`. +- **registry.json**: Delete the `registry.json` file from the location used during setup: + - Windows: `/ProgramData/DockerDesktop/registry.json` + - Mac: `/Library/Application Support/com.docker.docker/registry.json` + - Linux: `/usr/share/docker-desktop/registry/registry.json` + +Restart Docker Desktop after removing the configuration so the change takes effect. + ## Troubleshoot sign-in enforcement If sign-in enforcement doesn't work: From 6f1b5b1d963eb5b5c845442810b09b7312fcfaa4 Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Catoire Date: Mon, 4 May 2026 15:53:35 +0200 Subject: [PATCH 2/2] Tighten wording and drop Group Policy aside The Group Policy aside on the Windows registry bullet went beyond the issue's suggested fix. Reverting to the minimal description that matches the issue, and tightening the registry.json line ('at:' is enough since the bullets that follow give the locations). --- .../manuals/enterprise/security/enforce-sign-in/methods.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/manuals/enterprise/security/enforce-sign-in/methods.md b/content/manuals/enterprise/security/enforce-sign-in/methods.md index 305cb4493766..082e7273836a 100644 --- a/content/manuals/enterprise/security/enforce-sign-in/methods.md +++ b/content/manuals/enterprise/security/enforce-sign-in/methods.md @@ -299,10 +299,10 @@ When multiple configuration methods exist on the same system, Docker Desktop use To remove enforcement, undo the configuration for the method you used: -- **Windows registry key**: Delete the `allowedOrgs` value, or remove the entire `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Docker\Docker Desktop` key. If the key was deployed with Group Policy, remove it from the GPO and run `gpupdate /force` on target machines. +- **Windows registry key**: Delete the `allowedOrgs` value, or remove the entire `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Docker\Docker Desktop` key. - **Mac configuration profiles**: Remove the profile through your MDM solution, or from **System Settings** > **General** > **Device Management**. - **Mac plist file**: Delete `/Library/Application Support/com.docker.docker/desktop.plist`. -- **registry.json**: Delete the `registry.json` file from the location used during setup: +- **registry.json**: Delete the `registry.json` file at: - Windows: `/ProgramData/DockerDesktop/registry.json` - Mac: `/Library/Application Support/com.docker.docker/registry.json` - Linux: `/usr/share/docker-desktop/registry/registry.json`