NServiceBus Samples with Docker Containers?

(Michael Mc Carthy) #1

Besides https://docs.particular.net/samples/hosting/docker/ (which focuses on .NET Core), are there any samples out there for hosting NServiceBus in a docker container in .NET “Classic”?

From the research I’ve done, it appears the microsoft/windowsservercore is not going to include MSMQ because tied to older technologies that would “badly break containers” (https://social.msdn.microsoft.com/Forums/en-US/bce99a7d-aa60-44fa-a348-450855650810/msmqserver-is-it-supported?forum=windowscontainers)

So, I’m assuming something AMQP-friendly like RabbitMQ or Azure Storage Queues would need to be used for the transport.


(Daniel Marbach) #2

Hi Michael,

Just an FYI MSMQ will be supported in Windows Containers



(Michael Mc Carthy) #3

Daniel, thanks!


(Ismael Hamed) #4

So, I guess there’s going to be support for MSMQ in NServiceBus .NET Core after all?

(Michael Mc Carthy) #5

Looks like you need to sign up as a “Windows Insider” to use the preview build.

in order to run the image (https://hub.docker.com/r/microsoft/windowsservercore-insider/)
in Docker locally.

Seeing how these are the items to accept before becoming an “Insider”

  • The experimental and early prerelease software and services might not be tested.
  • You might experience crashes, security vulnerabilities, data loss, or damage to your device.
  • When the software is installed on a mobile device: (i) it is not intended as a substitute for your primary means of telecommunications; (ii) in some circumstances, you may not be able to place calls (including calls for emergency services); (iii) it may inadvertently damage your device rendering it inoperable; and (iv) you may experience increased data charges.
  • The Program collects and transmits data to Microsoft regarding activities on your device, including personal information; Microsoft shares some data with partners. See the Privacy Statement for more information.
  • You will receive communications about the program and related promotions. Once you’ve joined the program, to stop receiving such communications you must leave the program.

has anyone had problems with system stability when agreeing to these terms and conditions?

Just asking, as I have one machine, and that’s my work machine, and I need it to work… eh… work :wink: