The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Azure Service Fabric!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

Any success with deploying containers using Standalone Service Fabric Cluster? RRS feed

  • General discussion

  • Service Fabric Version:

    Nodes: 2016-Datacenter

    I have a 5-node (each node is separate VMs) standalone Service Fabric Cluster and trying to deploy a container from

    Its not working and having hard time t-shooting issue, hope someone help me.


    Below is what I have done so far…

    • Installed Docker manually using following commands

    Install-Module -Name DockerMsftProvider -Force

    Install-Package -Name docker -ProviderName DockerMsftProvider -Force

    Restart-Computer -Force

    • Set below environment variable


    • Deployed the app waited couple of hours, nothing happens other this error

         Error event: SourceId='System.FM', Property='State'.

         Partition is below target replica or instance count.

         fabric:/MyContainers/RunnableContainer -1 1 68898080-f211-4b6e-97ed-d2a8d1219876

         IB mgmnt1 Up 131379058827813928

         IB mgmnt4 Up 131379058827813929

         IB mgmnt3 Up 131379058827813930

         IB mgmnt0 Up 131379058827813931

         IB mgmnt2 Up 131379058827813932

         (Showing 5 out of 5 replicas. Total available replicas: 0.)

    • I checked below Docker commands; output is empty

    docker -H localhost:2375 ps -a

    • Service Manifest file

    <ServiceManifest Name="RunnableContainerPkg" Version="1.0.0" xmlns="" xmlns:xsi="">


        <StatelessServiceType UseImplicitHost="true" ServiceTypeName="RunnableContainerType" />


      <CodePackage Name="Code" Version="1.0.0">









          <Endpoint Name="RunnableContainerTypeEndpoint" Type="Input" Protocol="http" Port="80" />




    • Application Manifest File

    <?xml version="1.0" encoding="utf-8"?>

    <ApplicationManifest xmlns:xsd="" xmlns:xsi="" ApplicationTypeName="RiskLedger" ApplicationTypeVersion="1.0.1" xmlns="" ___CorrelationId___="de5d59b0-1752-4cf7-a980-4edddba8935e">


        <Parameter Name="RunnableContainer_InstanceCount" DefaultValue="1" />



        <ServiceManifestRef ServiceManifestName=" RunnableContainerPkg " ServiceManifestVersion="1.0.0" />


            <ContainerHostPolicies CodePackageRef="Code">

                                            <RepositoryCredentials AccountName="XXXXXXXXX" Password="xxxxxxxxx" PasswordEncrypted="true"/>

                                            <PortBinding EndpointRef="RunnableContainerTypeEndpoint " ContainerPort="80"/>





        <Service Name="RunnableContainer">

          <StatelessService ServiceTypeName="RunnableContainerType" InstanceCount="[RunnableContainer_InstanceCount]">

            <SingletonPartition />





    Saturday, April 29, 2017 5:51 PM

All replies