title: Deploying trufflesuite/ganache-cli docker image to Azure Container Instances with additional parameters
body: <p>I want to deploy <code>trufflesuite/ganache-cli</code> docker image to Azure Container Instances and be able to pass parameters to ganache-cli, like <code>--accounts</code> or <code>--fork</code>.</p>
  <p>When I try running <code>trufflesuite/ganache-cli:latest</code> image locally, everything works</p>
  <blockquote>
  <p>PS&gt; <code>docker context use default</code><br>
  PS&gt; <code>docker run --detach --publish 8545:8545 trufflesuite/ganache-cli:latest --accounts 10</code><br>
  e675e143ddc3ae2e6425700d18725f38360775c38fb0cb41e37a270e4fc5f83a</p>
  </blockquote>
  <p>However, when I switch to Azure context, getting the error below</p>
  <blockquote>
  <p>PS&gt; <code>docker context use ganacheacicontext</code><br>
  PS&gt; <code>docker run --detach --publish 8545:8545 trufflesuite/ganache-cli:latest --accounts 10</code><br><br>
  [+] Running 0/1<br>
  Group hopeful-mclean  Error<br>
  1.3s<br>
  containerinstance.ContainerGroupsClient#CreateOrUpdate: Failure sending request:
  StatusCode=400 -- Original Error: Code=&quot;MoreImageRegistryCredentialsThanContainers&quot; Message=&quot;<b>More image registry credentials provided than containers in container group</b> 'hopeful-mclean'.&quot;</p>
  </blockquote>
  <p>I do have a resource group, context is correct, as when I try a different image, I am able to deploy it to ACI.<br></p>
  <p>Now, when I use Azure cli I am able to deploy ganache-cli image to Azure Container Instances<br>
  <code>az container create --resource-group test-ganache --name ganache --image trufflesuite/ganache-cli:latest --ports 8545 --ip-address Public</code></p>
  <p>However, I can't figure out how to pass parameters to trufflesuite/ganache-cli when using az container create, like accounts, or fork, etc.<br>
  It fails with this error if I try to add <code>--accounts 10</code> to <code>az container create</code> line above:<br>
  <code>unrecognized arguments: --accounts 10</code></p>