Running Locally on a Linux Container from Visual Studio
To deploy the eShopOnWeb sample to a local Linux Docker container, from Visual Studio, follow these step-by-step instructions:
-  Clone or download the eShopOnWeb sample to a folder on your local machine. 
-  Ensure that you have installed a recent version of Docker for Windows 
-  Right click on the Webproject in Visual Studio and select theAdd menuthenDocker Support
-  Select Linuxand click onOK. This will create a new project in your solution calleddocker-compose. This project contains the settings for deploying to Docker.
-  Open the docker-compose.override.ymlfrom thedocker-composeproject and change the line that reads80to read5106. This is the port eShopOnWeb is configured to run on. (See theProgram.csfile for details)
-  Press F5to run the project or selectDebug>Start Debuggingfrom the menu.
-  Your default browser will start on a random port on localhost which is forwarded to the docker container. 
Troubleshooting
You may encounter an error if your Docker for Windows is configured to run Windows containers. This setting change be changed by right clicking on the tray icon and selecting Switch to Linux containers.