- Fixed filesystem corruption in the WSL 2 Linux VM in self-diagnose. This can be caused by [microsoft/WSL#5895](https://github.com/microsoft/WSL/issues/5895).
- Fixed `SeSecurityPrivilege` requirement issue. See [docker/for-win#12037](https://github.com/docker/for-win/issues/12037).
- Fixed CLI context switch sync with UI. See [docker/for-win#11721](https://github.com/docker/for-win/issues/11721).
- Added the key `vpnKitMaxPortIdleTime` to `settings.json` to allow the idle network connection timeout to be disabled or extended.
- Fixed a crash on exit. See [docker/for-win#12128](https://github.com/docker/for-win/issues/12128).
- Fixed a bug where the CLI tools would not be available in WSL 2 distributions.
- Fixed switching from Linux to Windows containers that was stuck because access rights on panic.log. See [for-win#11899](https://github.com/docker/for-win/issues/11899).
### Known Issues
#### For Windows
Docker Desktop may fail to start when upgrading to 4.1.0 on some WSL-based distributions such as ArchWSL. See [docker/for-win#12229](https://github.com/docker/for-win/issues/12229)
## 4.0.1
{{< release-date date="2021-09-13" >}}
### Upgrades
- [Compose V2 RC3](https://github.com/docker/compose/releases/tag/v2.0.0-rc.3)
- Compose v2 is now hosted on github.com/docker/compose.
- Fixed go panic on downscale using `compose up --scale`.
- Fixed a race condition in `compose run --rm` while capturing exit code.
### Bug fixes and minor changes
#### For all platforms
- Fixed a bug where copy-paste was not available in the Docker Desktop Dashboard.
#### For Windows
- Fixed a bug where Docker Desktop would not start correctly with the Hyper-V engine. See [docker/for-win#11963](https://github.com/docker/for-win/issues/11963)
## 4.0.0
{{< release-date date="2021-08-31" >}}
### New
Docker has [announced](https://www.docker.com/blog/updating-product-subscriptions/) updates and extensions to the product subscriptions to increase productivity, collaboration, and added security for our developers and businesses.