How to deploy Docker container automated in Azure Service Fabric with TeamCity? How to deploy Docker container automated in Azure Service Fabric with TeamCity? docker docker

How to deploy Docker container automated in Azure Service Fabric with TeamCity?


  1. Use your build server to create a container image
  2. From the build server, push the image to a container registry like Docker Hub or Azure Container Registry.
  3. Deploy a Service Fabric service that uses the image to run a container.


To deploy a container to SF you have deploy a service fabric application.

An application is just a manifest that defines the services and containers that an application is built on.

These links will guide you through this:

Currently there is no way to deploy a container without setup an application on SF and I don't think they will add a similar feature like docker docker run xyz or kubernetes kubectl run --image=nginx nginx-app anytime soon.

Applications are the foundations of SF to define how resources are arranged together.

Maybe they could provide a feature to auto create an application for standalone containers, if you really need this, I would suggest you create as a feature request on their GitHub