An Azure service that is used to provision Windows and Linux virtual machines.
Hello Ranveer Singh,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you're experiencing an issue with Docker, and it's only one user can use docker service in VDI.
Simply because Docker Desktop is not supported for concurrent multi-user use on the same Windows 11 Enterprise multi-session AVD session host. - https://docs.docker.com/desktop/setup/vm-vdi/, https://docs.docker.com/desktop/setup/vm-vdi.md, and https://learn.microsoft.com/en-us/azure/virtual-desktop/windows-multisession-faq gives you more insights.
Since your troubleshooting already proves the main point: WSL 2 is enabled, Virtual Machine Platform is enabled, Docker service is running, Docker was reinstalled, the VM was restarted, and backend logs show Docker exits before becoming ready. These steps do not resolve the issue because the environment design is unsupported for concurrent Docker Desktop sessions.
My advice:
- Remove Docker Desktop from the pooled multi-session AVD use case and provide each developer with an isolated Docker runtime. The recommended Microsoft-aligned path is Microsoft Dev Box with the Docker Desktop-compatible image, because it gives each developer a dedicated cloud workstation with Docker Desktop, WSL 2, and dependencies preinstalled. - https://marketplace.microsoft.com/en-us/product/virtual-machines/dockerinc1694120899427.devbox_azuremachine?tab=Overview, https://docs.docker.com/enterprise/enterprise-deployment/dev-box/
- If the organization must continue using AVD, change from a pooled multi-session host model to personal AVD desktops or one dedicated Azure VM per developer, using a VM size that supports the required virtualization features. Docker Desktop may then be installed and used by one developer per VM, not shared concurrently by multiple users on one session host.
- If the actual requirement is shared container build and deployment rather than the Docker Desktop UI, move the container workflow to Azure-native services such as Azure Container Registry Tasks, CI/CD, AKS, Azure Container Apps, or Azure Container Instances. Azure Container Registry Tasks supports cloud-based container image builds, on-demand builds, and automated builds triggered by source changes, base-image updates, or timers. - https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-overview, https://learn.microsoft.com/en-us/azure/container-registry/
- For the separate issue where the Developer support plan does not allow creating a direct support ticket, verify that the affected user has the required Azure RBAC permission at the subscription scope. The user must be Owner, Contributor, Support Request Contributor, or have a custom role with
Microsoft.Support/*. - https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-manage-azure-support-request Use this command if the user needs only support-ticket permission:az role assignment create--assignee <userObjectIdOrUPN>--role "Support Request Contributor"--scope /subscriptions/<subscriptionId>
I hope this is helpful. Please! Do not hesitate to let me know if you have any other questions, steps or clarifications.
Please do not close the thread by upvoting and accepting the answer if any part of it is helpful.