Service Fabric treats a container as an application host capable of hosting multiple service replicas. To deploy and activate a container, the name of the container image must be put into the ContainerHost element of the service manifest. The following example deploys a container called myimage:v1 from a repository myrepo:
<CodePackage Name="Code" Version="1.0">
<EntryPoint>
<ContainerHost>
<ImageName>myrepo/myimagename:v1</ImageName>
<Commands></Commands>
</ContainerHost>
</EntryPoint>
</CodePackage>
The Commands element can be used to pass commands to the container image. The element can take comma-separated values as commands.