I cannot add this folder with docker 2.2.0.0 community version on catalina 10.15.2
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
For anybody running in to this issue use Command + Shirt +G after you click the add button in Docker and type /usr, now you can acces this folder
@mennolaan -- Menno, thank you for your feedback and your tip.
@heiligerdankgesang -- Dominic, please look into this potential documentation issue.
NuGetFallbackFolder Folder is not at location. /usr/local/share/dotnet/sdk/. I can see .Net core Versions Folders{3.1 or 3.0} in my case. I am using Catalina and Docker Desktop 2.2.0.3.
In addition to mennolaan's solution, you can also edit ~/Library/Group Countainers/group.com.docker/settings.json and add the path under "filesharingDirectories" and restart docker
As soon as you click the plus button on docker file sharing, navigate to the root folder and you can press Command + shift + . (dot) and then navigate to the desired /usr folder
This doesn't seem to manifest in the latest version of Docker. Please reach out if you're still experiencing this issue.
Most helpful comment
For anybody running in to this issue use Command + Shirt +G after you click the add button in Docker and type /usr, now you can acces this folder