Skip to content

Latest commit

 

History

History
675 lines (508 loc) · 19.6 KB

File metadata and controls

675 lines (508 loc) · 19.6 KB
title Settings reference
linkTitle Settings reference
description Complete reference for all Docker Desktop settings and configuration options
keywords docker desktop settings, configuration reference, admin controls, settings management
toc_max 2
aliases
/security/for-admins/hardened-desktop/settings-management/settings-reference/

This reference documents Docker Desktop settings that administrators can configure using Settings Management. Use this page to understand which settings are available, their accepted values, platform compatibility, and which configuration methods apply.

Note

This page only covers configurable settings for administrators who are deploying Docker Desktop to their organization. For the full list of Docker Desktop user-facing settings, see Change settings.

General

Send usage statistics

Controls whether Docker Desktop collects and sends local usage statistics and crash reports to Docker. Does not affect server-side telemetry collected via Docker Hub or other backend services such as sign in timestamps, pulls, or builds.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key analyticsEnabled
Admin Console Send usage statistics

Note

Organizations using the Insights Dashboard may need this setting enabled to ensure that developer activity is fully visible. If users opt out and the setting is not locked, their activity may be excluded from analytics views.

Automatically check for updates

Controls whether Docker Desktop checks for and notifies users about available updates. When set to true, update checks and notifications are disabled.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key disableUpdate
Admin Console Disable update

Note

In hardened environments, enable this setting and lock it. This guarantees that only internally vetted versions are installed.

Automatically update components

Allows Docker Desktop to automatically update components that do not require a restart, such as Docker Compose, Docker Scout, and the Docker CLI.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key silentModulesUpdate
Admin Console Automatically update components

Enable Gordon

Property Value
Default false
Accepted values (individuals) true, false
Accepted values (Business tier) "Disabled", "Enabled", "Always Enabled"
JSON key enableDockerAI
Admin Console Enable Gordon

Important

Docker Business customers must set this to "Enabled" or "Always Enabled" in the Admin Console. Setting to "User Defined" alone will not activate Gordon.

Block docker load

Prevents users from loading local Docker images using the docker load command, enforcing image provenance by requiring all images to come from registries.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key blockDockerLoad
Admin Console Block Docker Load

Note

In hardened environments, enable and lock this setting. This forces all images to come from your secure, scanned registry.

Hide onboarding survey

Prevents the onboarding survey from being shown to new users.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key displayedOnboarding
Admin Console Hide onboarding survey

Enable Docker terminal

Allows or restricts access to the built-in terminal for host system interaction. When set to false, users cannot use the Docker terminal to interact with the host machine or execute commands directly from Docker Desktop.

Property Value
Default false
Accepted values true, false
Format Boolean
Docker Desktop GUI General tab
JSON key desktopTerminalEnabled
Admin Console Not available

Expose Docker API on TCP 2375 {{< badge color=blue text="Windows only" >}}

Exposes the Docker API over an unauthenticated TCP socket on port 2375. Only recommended for isolated and protected environments. Supports legacy integrations that require TCP API access.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key exposeDockerAPIOnTCP2375
Admin Console Expose Docker API

Note

In hardened environments, disable and lock this setting. This ensures the Docker API is only reachable via the secure internal socket.

Extensions

Enable Docker extensions

Controls whether users can install and run Docker Extensions.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key extensionsEnabled
Admin Console Allow Extensions

Note

In hardened environments, disable and lock this setting. This prevents third-party or unverified plugins from being installed.

Allow only extensions distributed through the Docker Marketplace

Prevents installation of third-party or locally developed extensions.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key onlyMarketplaceExtensions
Admin Console Only marketplace extensions

Enable a private marketplace

Ensures Docker Desktop connects to content defined and controlled by the administrator instead of the public Docker Marketplace.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key extensionsPrivateMarketplace
Admin Console Extensions private marketplace

AI

Enable Docker Model Runner

Enables Docker Model Runner functionality for running AI models in containers.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key enableInference
Admin Console Enable Docker Model Runner

Enable host-side TCP support

Enables TCP connectivity for Docker Model Runner services, allowing external applications to connect to Model Runner via TCP.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key enableInferenceTCP
Admin Console Host-side TCP support
Requires Docker Model Runner enabled
Port

Specifies the port used for Model Runner TCP connections.

Property Value
Default 12434
Accepted values Integer
Format Integer
JSON key enableInferenceTCPPort
Admin Console Host-side TCP port
Requires Docker Model Runner and host-side TCP support enabled
CORS Allowed Origins

Controls cross-origin resource sharing for Model Runner web integration.

Property Value
Default Empty string
Accepted values Empty string (deny all), * (accept all), or comma-separated list of origins
Format String
JSON key enableInferenceCORS
Admin Console CORS Allowed Origins
Requires Docker Model Runner and host-side TCP support enabled

Enable GPU-backed inference {{< badge color=blue text="Windows only" >}}

Enables GPU-backed inference. Additional components will be downloaded to ~/.docker/bin/inference.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key enableInferenceGPUVariant
Admin Console Enable GPU-backed inference

File sharing and emulation

File sharing directories

Defines which host directories containers can access for development workflows.

Property Value
Default Varies by OS
Accepted values List of file paths
Format Array of strings
JSON key filesharingAllowedDirectories
Admin Console Yes — Allowed file sharing directories

VirtioFS {{< badge color=blue text="Mac only" >}}

Uses VirtioFS for fast, native file sharing between host and containers. If both VirtioFS and gRPC FUSE are set to true, VirtioFS takes precedence.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key useVirtualizationFrameworkVirtioFS
Admin Console Use VirtioFS for file sharing tab

gRPC FUSE {{< badge color=blue text="Mac only" >}}

Enables gRPC FUSE for macOS file sharing.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key useGrpcfuse
Admin Console Use gRPC FUSE for file sharing

Rosetta {{< badge color=blue text="Mac only" >}}

Uses Rosetta for x86_64/amd64 emulation on Apple Silicon.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key useVirtualizationFrameworkRosetta
Admin Console Use Rosetta for x86_64/amd64 emulation on Apple Silicon

Scout

Enable Scout image analysis

Turns on vulnerability scanning and software bill of materials (SBOM) analysis for container images.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key sbomIndexing
Admin Console SBOM indexing

Enable background Scout SBOM indexing

Keeps image metadata current by indexing during idle time or after image operations.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key useBackgroundIndexing
Admin Console Background indexing

Proxy

Embedded PAC script

Specifies an embedded Proxy Auto-Config (PAC) script. For example: "embeddedPac": "function FindProxyForURL(url, host) { return \"DIRECT\"; }".

Property Value
Default ""
Accepted values Embedded PAC script content
Format String
JSON key embeddedPac
Admin Console Yes Embedded PAC script

PAC file URL

Specifies a PAC file URL for Docker Desktop to use when routing network traffic. For example: "pac": "http://proxy/proxy.pac".

Property Value
Default ""
Accepted values PAC file URL
Format String
JSON key pac
Admin Console PAC file

Override Windows "dockerd" port {{< badge color=blue text="Windows only" >}}

Exposes Docker Desktop's internal proxy locally on this port for the Windows Docker daemon to connect to. If it is set to 0, a random free port is chosen. If the value is greater than 0, use that exact value for the port.

Property Value
Default -1
Accepted values -1 0
Format String
JSON key windowsDockerdPort
Admin Console Override Windows “dockerd” port

Enable Kerberos and NTLM authentication

Enables enterprise proxy authentication support for Kerberos and NTLM protocols.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key proxy.enableKerberosNtlm
Admin Console Kerberos NTLM

Proxy bypass

Defines network addresses that containers should bypass when using proxy settings.

Property Value
Default ""
Accepted values List of addresses
Format String
Docker Desktop GUI Proxies tab
JSON key proxy (with manual and exclude modes)
Admin Console Yes — Proxy section

Containers proxy

Air-gapped container proxy

Configures an HTTP/HTTPS proxy for containers in air-gapped environments, providing controlled network access in offline or restricted network environments.

Property Value
Default See example below
Accepted values JSON object
Format JSON object
JSON key containersProxy
Admin Console Containers proxy section
"containersProxy": {
  "locked": true,
  "mode": "manual",
  "http": "",
  "https": "",
  "exclude": [],
  "pac": "",
  "transparentPorts": ""
}

For more information, see Air-gapped containers.

LinuxVM

Enable WSL engine {{< badge color=blue text="Windows only" >}}

When set to true, Docker Desktop uses the WSL 2 based engine. Overrides any backend flag set at installation using --backend=<backend name>.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key wslEngineEnabled
Admin Console Windows Subsystem for Linux (WSL) Engine

Docker daemon options

Overrides the Docker daemon configuration used in containers, without modifying local configuration files.

Property Value
Default {}
Accepted values JSON object
Format Stringified JSON
JSON key linuxVM.dockerDaemonOptions
Admin Console Docker Daemon options in the LinuxVM dropdown

VPNKit CIDR {{< badge color=blue text="Mac only" >}}

Sets the network subnet used for Docker Desktop's internal VPNKit DHCP/DNS services. Prevents IP address conflicts in environments with overlapping network subnets.

Property Value
Default 192.168.65.0/24
Accepted values CIDR notation
Format String
JSON key vpnkitCIDR
Admin Console VPNKit CIDR

Windows containers

Docker daemon options

Overrides the Docker daemon configuration used in Windows containers, without modifying local configuration files.

Property Value
Default {}
Accepted values JSON object
Format Stringified JSON
JSON key windowsContainers.dockerDaemonOptions
Admin Console Docker Daemon options in the Windows containers dropdown

Kubernetes

Enable Kubernetes

Enables the local Kubernetes cluster integration with Docker Desktop.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key kubernetes
Admin Console Enable Kubernetes

Show system containers

Controls visibility of Kubernetes system containers in the Docker Desktop Dashboard.

Property Value
Default false
Accepted values true, false
Format Boolean
Admin Console Show system containers

Kubernetes image repository

Specifies a registry used for Kubernetes control plane images instead of Docker Hub. Overrides the [registry[:port]/][namespace] portion of image names. Images must be mirrored from Docker Hub with matching tags.

Property Value
Default ""
Accepted values Registry URL
Format String
JSON key KubernetesImagesRepository
Admin Console Kubernetes Images Repository

Note

Images must be mirrored from Docker Hub with matching tags. Required images depend on the cluster provisioning method.

Important

When using custom image repositories with Enhanced Container Isolation, add these images to the ECI allowlist: [imagesRepository]/desktop-cloud-provider-kind:* and [imagesRepository]/desktop-containerd-registry-mirror:*.

Cluster provisioning method

Controls Kubernetes cluster topology and node configuration.

Property Value
Default kubeadm
Accepted values kubeadm, kind
Format String
Admin Console Kubernetes mode

Node version

Pins the Kubernetes version used for cluster nodes.

Property Value
Default 1.31.1
Accepted values Semantic version (e.g. 1.29.1)
Format String
Admin Console Node version tab

Nodes count

Sets the number of nodes in multi-node Kubernetes clusters.

Property Value
Default 1
Accepted values Integer
Format Integer
Admin Console Nodes count

Features in development

Access beta features

Controls whether users can access all Docker Desktop features that are in public beta.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key allowBetaFeatures
Admin Console Access beta features

Enable Docker MCP Toolkit (Beta)

Enables Docker MCP Toolkit in Docker Desktop for AI model development workflows.

Property Value
Default true
Accepted values true, false
Format Boolean
JSON key enableDockerMCPToolkit
Admin Console Not available

Enhance container isolation

Enable Enhanced Container Isolation

Prevents containers from modifying Docker Desktop VM configuration or accessing sensitive host areas.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key enhancedContainerIsolation
Admin Console Enable enhanced container isolation

Docker socket access control (ECI exceptions)

Defines specific images and commands allowed to use the Docker socket when Enhanced Container Isolation is active. Supports tools like Testcontainers, LocalStack, or CI systems that need Docker socket access while maintaining security.

Property Value
Accepted values JSON object
Format JSON object
JSON key ``dockerSocketMount`
Admin Console Image list, Command list
"enhancedContainerIsolation": {
  "locked": true,
  "value": true,
  "dockerSocketMount": {
    "imageList": {
      "images": [
        "docker.io/localstack/localstack:*",
        "docker.io/testcontainers/ryuk:*"
      ]
    },
    "commandList": {
      "type": "deny",
      "commands": ["push"]
    }
  }
}

Network

Networking mode

Sets the default IP protocol used when Docker creates new networks.

Property Value
Default dual-stack
Accepted values ipv4only, ipv6only
Format String
JSON key defaultNetworkingMode
Admin Console Default network IP mode

For more information, see Networking.

Inhibit DNS resolution for IPv4/IPv6

Filters unsupported DNS record types to improve reliability in environments where only IPv4 or IPv6 is supported. Requires Docker Desktop 4.43 and later.

Property Value
Default auto
Accepted values ipv4, ipv6, none
Format String
JSON key dnsInhibition
Admin Console DNS filtering behavior

For more information, see Networking.

Port binding behavior

Specify how port bindings are handled for new containers.

Property Value
Default default-port-binding
Accepted values default-local-port-binding, local-only-port-binding, default-port-binding
Format String
JSON key portBindingBehavior
Admin Console Port binding behavior

Other

Enable Docker Offload

Controls Docker Offload availability. When enabled, users see the Docker Offload toggle in the Docker Desktop header.

Property Value
Default false
Accepted values true, false
Format Boolean
JSON key enableCloud
Admin Console Enable Docker Offload

Note

This setting is only available when Docker Offload capability is enabled for the organization.