Skip to content

Docker Desktop crashes when using Windows Containers #11968

Description

@ChrisBaker812
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: 6CEED37B-4CBD-485F-988E-B9D3C4357CD5/20210823073956

Actual behavior

Switch to Windows Containers - this causes a timeout error, option to Quit Docker Desktop - pressed quit. Remove readonly flag from programdata/docker/panic.log file, and docker starts without error using Windows Containers. Restart computer and Docker Desktop crashes with same issue, causing the need to change the readonly flag once again.

Expected behavior

Docker desktop should switch to and from Windows and Linux containers without a .net exception and restarting the computer should not cause Docker Desktop to crash when Windows starts.

Information

  • Windows Version: Windows 10 21H1
  • Docker Desktop Version: 3.6
  • WSL2 or Hyper-V backend?
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: N

Steps to reproduce the behavior

1 . Switch to Windows Containers.
2. Remove readonly flag from programdata/docker/panic.log file.
3. Restart computer and Docker Desktop crashes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions