
Explanation

Step 1: Enable the Continuous Integration trigger
To make sure that DevOps picks up new commits and builds them, go to the Triggers tab and enable the
Enable continuous integration checkbox.
Step 2: Create a build definition by using the Service Fabric Application template
Developers and testers can easily and quickly provision production-like dev and test environments based on
Docker by using templates from Azure.
Step 3: Add a task with the command "docker deploy" in the build definition
Thanks to the Microsoft VSTS Docker Deploy task shown in figure, you can now also deploy to DC/OS by
just using your familiar docker-compose.yml file because Microsoft will be performing that "translation" for
you (from your docker-compose.yml file to other formats needed by DC/OS).

References:
https://novacontext.com/containerized-docker-application-lifecycle-with-microsoft-platform-and-tools/