How to create docker image?

Hello Milestone team,

I am building a visual studio console application. I am running 3 APIs for downloading images, exporting videos and listing all the cameras. I am using VideoOS Platform apis.

I want to create a docker image for this console application as I want to run this in a kubernetes cluster.

Please advice how can I do this?

To do this in a docker container using our MIP SDK binaries from the VideoOS.* nuget packages, you’ll have to use Windows containers. And because you’re doing image/video exports, you may need to base your docker image on the full Windows or Server base images as the nano/core images lack some of the DirectX image processing features we depend on, at least that’s true for the mobile server and recording server components.

https://hub.docker.com/_/microsoft-windows-base-os-images?tab=description

Packaging your application in a docker container is outside the scope of what we can support in this forum - fortunately there’s little difference between packaging a MIP SDK component based application compared to any other .NET Framework based application.

I don’t think this was your question but just to cover all the bases, there’s no supported way to install the VMS in a docker container. But a MIP SDK component or protocol integration can run fine in a container - there’s not much difference compared to running on bare metal or a VM.