title: How to specify commandline arguments to a docker container in Azure Service Fabric
body: <p>I've a docker image <a href="https://hub.docker.com/r/sheyenrath/wiremock.net-nano/" rel="nofollow noreferrer">wiremock.net-nano</a> which accepts additional commandline parameters like <code>--Port</code> and <code>--AdminUsername</code>.</p>
  
  <p>The normal docker commandline looks like:</p>
  
  <pre><code>docker run --rm -p 9091:80 sheyenrath/wiremock.net-nano --ReadStaticMappings true --AdminUsername x --AdminPassword y --RequestLogExpirationDuration 24
  </code></pre>
  
  <p><br>
  But how can I configure these parameters in <strong>Azure Service Fabric</strong>?
  <br>
  The <em>ServiceManifest.xml</em> file defines only the image name (<code>&lt;ImageName&gt;sheyenrath/wiremock.net-nano&lt;/ImageName&gt;</code>) and port forwarding (<code>&lt;Endpoint Name="WireMock_ContainerTypeEndpoint" Port="9091" /&gt;</code>).</p>