'File shares in DockerDesktop 20.10.14

I need to configure File share for DockerDesktop installed into my Windows10 machine. With earlier dockerDesktop versions I just added C: into Settings - Resources - File sharing and the changes into any code file below driver C: were immeditely seen in the application running in the corresponding container.

But after update to version 20.10.14

$  docker --version
Docker version 20.10.14, build a224086

such setting is no more available in DockerDesktop. So, how can I set the fileshare now ?

As far as I undestand the mode is wsl 2 backend:

$ wsl.exe -l -v
  NAME                   STATE           VERSION
* Ubuntu-18.04           Stopped         1
  docker-desktop-data    Running         2
  docker-desktop         Running         2

My Docker desktop



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source