Repository navigation
Description
Enhancement description
Summary
I would like to propose machine-wide, multi-user Docker Desktop support with concurrent Windows and Linux container engines.
The objective is to move beyond user-session-owned Docker environments and provide a persistent, machine-level container infrastructure that multiple authorized Windows users can access simultaneously.
This involves three core capabilities:
- Multi-user: Multiple Windows users concurrently accessing and managing the same Docker engines, containers, images, volumes, networks, and projects.
- Multi-engine: Running native Windows and Linux Docker engines simultaneously, without switching modes or stopping either engine.
- Machine-wide persistence: Both engines and their workloads operating independently of individual Windows login sessions, with automatic startup at system boot.
I have already implemented this architecture in an open-source project called Unified Container Desktop (UCD).
Repository: https://github.com/Wes2000ley/unified-container-desktop
Public beta: https://github.com/Wes2000ley/unified-container-desktop/releases/tag/v0.4.17
This is a working application with a Windows installer, native desktop interface, Docker CLI integration, container management, shared access control, and documented validation.
I am submitting it both as an enhancement proposal and as a technical reference implementation for Docker's engineering team.
Working demonstration
The screenshots below are from Unified Container Desktop v0.4.17, running on a real Windows 11 host.
They demonstrate:
- Both native Windows and WSL 2 Linux Docker engines online concurrently.
- Windows Nano Server and Linux Alpine containers running simultaneously.
- A unified interface showing containers and resources across both engines.
- Docker CLI operations against either engine without stopping or switching the other.
- Successful interactive command execution inside both Windows and Linux containers.
Both engines are managed through the same machine-wide controller, with infrastructure designed to persist independently of interactive Windows sessions.
The complete implementation, installer, and validation records are available in the [Unified Container Desktop repository](https://github.com/Wes2000ley/unified-container-desktop).
1. Current Docker Desktop limitations
Docker Desktop supports per-user and all-users installation modes. However, installing Docker Desktop for all users is not equivalent to providing a shared, multi-user Docker runtime.
There are several architectural limitations relevant to this proposal.
WSL 2 container resources are user-specific
Docker's Windows installation documentation explicitly states:
"it is not possible to share containers and images between user accounts when using the Docker Desktop WSL 2 backend."
https://docs.docker.com/desktop/setup/install/windows-install/
Docker Desktop can share certain resources with other backends, particularly Hyper-V. However, this does not provide equivalent multi-user behavior when using WSL 2.
Consequently, multiple Windows accounts do not receive one common, machine-owned WSL 2 container environment simply because Docker Desktop was installed for all users.
Docker Desktop's named-pipe access is tied to the launching user
Docker's Windows permission documentation states that non-privileged named pipes created when Docker Desktop launches are accessible to:
- The Windows user who launched Docker Desktop.
- Members of the local Administrators group.
- The LOCALSYSTEM account.
https://docs.docker.com/desktop/setup/install/windows-permission-requirements/
This is different from providing a shared Docker API endpoint that independently authenticates and authorizes multiple ordinary Windows users.
Adding users to docker-users provides access to certain privileged functionality, but does not automatically grant all authorized users concurrent access to a common Docker Desktop WSL 2 runtime.
Windows and Linux engine management is not fully unified
Docker Desktop supports Windows and Linux containers, and some configurations can keep both engines running.
However, the user experience still involves engine selection and separate management behavior rather than a consistently unified, concurrent environment.
A related issue, [docker/desktop-feedback#558](#558), documents the docker desktop engine use command stopping the previously selected engine, even where other switching methods can leave both running.
The desired improvement is not merely making engine switching faster. It is eliminating the need to switch operational environments at all.
Workloads should not depend on interactive user sessions
For shared development workstations, lab systems, and unattended services, Docker infrastructure should be managed at the machine level.
Users should be able to sign in, connect to existing workloads, perform authorized operations, and sign out without owning or disrupting the underlying runtime.
This should work across multiple Windows sessions, not just through the account that originally launched the desktop application.
2. Proposed architecture
I propose an optional Machine-Wide Docker Desktop Mode built around shared services, centralized authorization, and independent user interfaces.
A. Machine-owned Docker infrastructure
- One machine-wide Linux Docker Engine.
- One machine-wide native Windows Docker Engine.
- Shared container, image, volume, network, and project inventories within their respective engines.
- Automatic engine startup with Windows.
- Container operation independent of whether Docker Desktop's GUI is open.
- Engine and workload persistence across user sign-out and subsequent sign-in.
- Engine lifecycle controls available to appropriately authorized users.
The engines should operate as system-managed infrastructure rather than as resources belonging to an individual interactive account.
B. Concurrent multi-user access
Multiple Windows users should be able to access the same engines simultaneously.
For example:
- User A signs into Windows and starts a Linux PostgreSQL container.
- User B signs into another Windows session and sees that same PostgreSQL container, including its logs, status, and volumes.
- User C starts a native Windows container without interrupting the Linux engine.
- Users A and B can independently manage authorized workloads through their own desktop or CLI sessions.
- All users sign out, and both engines continue operating.
- A different authorized user signs in later and accesses the original workloads.
There should be no requirement to launch a separate WSL 2 runtime for each Windows account or to transfer ownership of the Docker socket between users.
C. Centralized authentication and authorization
A machine-wide controller or broker should authenticate Windows users and authorize access to the shared engines.
The architecture should distinguish between:
- Administrators: Configure infrastructure, system services, and authorized access.
- Container operators: Manage Docker workloads through the shared controller.
- Read-only users: Inspect permitted status and resources without modifying them.
The shared Docker API should not be exposed indiscriminately. Docker engine management is highly privileged and can effectively grant control over the host.
The intended model is controlled access for trusted users, not security isolation between mutually untrusted container operators.
D. Simultaneous Windows and Linux engine operation
Both engines should remain available regardless of which engine a particular user is managing.
An illustrative Docker CLI experience could use existing Docker contexts:
# List Linux containers
docker --context shared-linux ps
# List Windows containers
docker --context shared-windows ps
# Deploy Linux services
docker --context shared-linux compose up -d
# Deploy Windows services
docker --context shared-windows compose up -dThese context names are illustrative, not existing Docker Desktop contexts.
Selecting one engine should never implicitly stop the other.
The Docker Desktop GUI should also expose a unified resource inventory, allowing users to filter by engine or inspect both environments together.
E. Unified management of mixed-OS applications
Developers should be able to organize Windows and Linux Compose workloads as components of a single logical application.
Each engine can retain its own networking, volumes, images, and Compose dependency graph.
Cross-engine communication can use explicitly published host endpoints rather than pretending that both engines share a single Docker network.
The goal is unified application management without violating the underlying engine-specific semantics.
3. Working implementation: Unified Container Desktop
I developed Unified Container Desktop to implement this architecture using existing Docker components rather than creating a new container runtime.
The project is written primarily in Go and React, and uses official Docker engines, Docker CLI, Compose, and Buildx components.
Machine-wide service architecture
UCD implements:
- A native Windows Docker Engine running as a Windows service.
- A Linux Docker Engine operating inside a dedicated Debian WSL 2 distribution.
- A noninteractive Windows service account that owns the Linux distribution and its lifecycle.
- A machine-wide Go controller that routes operations to either engine.
- Automatic services that remain operational independently of interactive Windows accounts.
- Persistent container state and shared machine-owned resources.
Multi-user implementation
UCD provides:
- Shared access to both engines for authorized Windows users.
- Authentication through Windows identities and named pipes.
- A centrally managed
Container Operatorsgroup. - Controller-side authorization for management operations.
- Read-only access for authenticated nonoperators.
- Administrator elevation requirements for infrastructure changes.
- Independent GUI sessions communicating with the same machine controller.
- Shared protected registry credentials for authorized operators and both engines.
Access is brokered through the controller rather than granting ordinary operators unrestricted access to raw Docker engine pipes.
The shared registry credential store is intentionally a trusted-operator resource, not a per-user security boundary.
Concurrent Windows and Linux operation
The application supports both engines running simultaneously, including:
- Container creation, lifecycle management, inspection, logs, statistics, and terminals.
- Image pulling, building, importing, exporting, and registry operations.
- Volume management, file browsing, backups, and restoration.
- Docker network management.
- Cross-engine TCP/UDP connectivity through published host endpoints.
- Logical projects containing separate Windows and Linux Compose components.
- Independent engine lifecycle management.
Desktop, browser, and CLI interfaces
UCD includes a native Windows desktop application, a React browser interface, and system-wide Docker CLI integration.
For example, the current implementation supports:
# Linux Docker Engine (default)
docker ps
docker compose up -d
# Native Windows Docker Engine
docker --engine windows ps
docker --engine windows compose up -d
# Unified machine-wide management
ucd engine ls
ucd container ls
ucd project ls
ucd diagnosticsUnlike the illustrative Docker Desktop context proposal above, these are actual UCD commands.
The CLI uses an authenticated controller broker to route operations to the appropriate engine.
Multiple authorized Windows accounts can access the same underlying infrastructure rather than maintaining separate per-user environments.
4. Implementation status and validation
Unified Container Desktop v0.4.17 is available as an Apache 2.0-licensed public beta.
The repository contains the full application source, Windows installer configuration, service and controller implementations, frontend, automated checks, and validation documentation.
Recorded validation includes:
- Simultaneous real Windows and Linux container operation.
- Authenticated Docker CLI operations against both engines.
- Native desktop and browser management workflows.
- Installed application upgrades with preservation of checked container identities, settings, and volume data.
- Windows and Linux CI workflows.
- Regression checks for Docker API streaming and immediate command output.
The project also documents outstanding limitations.
Current beta packages are unsigned. Fresh-machine prerequisite installation, Setup reboot/resume behavior, and certain uninstall and recovery paths still require further live qualification. The implementation does not claim complete Docker Desktop parity or an independent security certification.
The project targets Windows 11 Pro/Enterprise x64 and is not a general Windows Server or Kubernetes management solution.
Technical references:
- [GitHub repository](https://github.com/Wes2000ley/unified-container-desktop)
- [v0.4.17 beta release](https://github.com/Wes2000ley/unified-container-desktop/releases/tag/v0.4.17)
- [Operating guide](https://github.com/Wes2000ley/unified-container-desktop/blob/master/docs/OPERATIONS.md)
- [Validation records](https://github.com/Wes2000ley/unified-container-desktop/blob/master/VALIDATION.md)
- [Security architecture](https://github.com/Wes2000ley/unified-container-desktop/blob/master/SECURITY.md)
5. Request to Docker Engineering
I would appreciate feedback from Docker's engineering and product teams on the feasibility and interest in supporting machine-wide, multi-user Docker infrastructure with concurrent Windows and Linux engines as a first-class Docker Desktop capability.
I believe the combination of these capabilities addresses a meaningful gap for shared development machines, organizations with multiple Windows user accounts, lab environments, and unattended containerized workloads.
The key architectural distinction is not simply running two Docker engines. It is providing one persistent, shared, authorized container-management environment across multiple Windows sessions and both operating-system container engines.
UCD demonstrates one approach using existing Docker components and Windows infrastructure.
I am not suggesting Docker needs to adopt the entire project or replace its existing architecture. The implementation is available as an open-source technical reference, and I would welcome discussion of architectural choices, integration opportunities, potential contributions, or collaboration.
I would be interested in hearing whether this is a capability Docker would consider pursuing and whether the existing implementation would be useful to the engineering team.
Activity