-
-
Save gnschenker/ca89cb09378ba7ff09eb5379908aa8c3 to your computer and use it in GitHub Desktop.
Docker run command of VS to enable debugging inside a container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -dt \ | |
-v "C:\Users\gnsch\vsdbg\vs2017u5:/remote_debugger:rw" \ | |
-v "C:\Users\gnsch\source\repos\WebApplication1\WebApplication1:/app" \ | |
-v "C:\Users\gnsch\source\repos\WebApplication1:/src" \ | |
-v "C:\Users\gnsch\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets:ro" \ | |
-v "C:\Users\gnsch\AppData\Roaming\ASP.NET\Https:/root/.aspnet/https:ro" \ | |
-v "C:\Users\gnsch\.nuget\packages\:/root/.nuget/fallbackpackages2" \ | |
-v "C:\Program Files\dotnet\sdk\NuGetFallbackFolder:/root/.nuget/fallbackpackages" \ | |
-e "DOTNET_USE_POLLING_FILE_WATCHER=1" \ | |
-e "ASPNETCORE_ENVIRONMENT=Development" \ | |
-e "NUGET_PACKAGES=/root/.nuget/fallbackpackages2" \ | |
-e "NUGET_FALLBACK_PACKAGES=/root/.nuget/fallbackpackages;/root/.nuget/fallbackpackages2" \ | |
-p 59074:80 \ | |
-p 44399:443 \ | |
--entrypoint tail \ | |
webapplication1:dev -f /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment