Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 665 Bytes

dotnet-templates_dockercontainer_templates_[2,].partial.md

File metadata and controls

17 lines (9 loc) · 665 Bytes

NServiceBus Docker Container

This template makes it easier to create a Docker container host for an NServiceBus endpoint. The template follows the approach outlined in Docker Container Host.

The template can be used via the following command:

snippet: docker-usage

This will create a new directory named MyEndpoint containing a .csproj also named MyEndpoint.

To add to an existing solution:

snippet: docker-addToSolution

To build the Docker image, open the command line, change to the directory containing the endpoint's .csproj, and run the following command:

snippet: docker-build