diff --git a/content/manuals/enterprise/security/enforce-sign-in/methods.md b/content/manuals/enterprise/security/enforce-sign-in/methods.md index 6d216b024525..082e7273836a 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. +- **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 at: + - 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: