Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 899 Bytes

vs-azure-tools-docker-add-docker-support.md

File metadata and controls

17 lines (13 loc) · 899 Bytes
  1. In the Visual Studio Solution Explorer, right-click the project and select Add > Docker Support from the context menu.

    Add Docker Support context menu

  2. Adding Docker support to an ASP.NET Core web project results in the addition of several Docker-related files being added to the project, including Docker-Compose files, deployment Windows PowerShell scripts, and Docker property files.

    Docker files added to project

Note

If using the Docker for Windows Beta, open Properties\Docker.props, remove the default value and restart Visual Studio for the value to take effect.

<DockerMachineName Condition="'$(DockerMachineName)'=='' "></DockerMachineName>