Debugging .net core application running in docker container, from visual studio 2017, in a remote linux machine.
Off late i have been doing a lot of exploration of docker technology, though a lot has been written about docker technology but about one topic on which i could not found much detail was Debugging in docker containers. Following are the tools which i am using for exploration- Visual studio 2017 version 15.3.4 with .net core 2.0 sdk on windows 10 machine Docker for windows. Ubuntu 14.04 machine with docker package installed. Visual studio 2017 magic - Visual studio has done a great work to add support for docker in your project. its just few simple clicks which perform all the work and you will not even realize that you are debugging a docker container or normal exe, more details can be found here . above experience is good for local development but what if your docker container is running in a production linux machine with no visual studio installed in that , how do you debug using visual studio in that scenario. Debugging ...