Share via


Customize container volume mapping

For debugging to work in containers, Visual Studio uses volume mapping to map the debugger and NuGet folders from the host machine. Volume mapping is described in the Docker documentation here. You can view the volume mappings for a container by using the Containers window in Visual Studio.

Prerequisites

Volume mounts in Visual Studio container images

For ASP.NET core web apps, there might be two additional folders for the SSL certificate and the user secrets, which is explained in more detail at Use SSL for containerized ASP.NET Core apps

Mount a container volume