Connection between Container and my Dev

Hello,
I have a problem,
I am trying Dockerizes my application, but I do not understand how to do two things:

  1. To edit my file from the container, I currently have my project outside the container but I have a blank solution in my container that I want to modify with my project.

  2. I do not understand how to virtualize my project in my browser.
    PS: I have a friend who told me to use the virtual host and I used a HOST file in an ETC directory.

Thanks.