title: How to run docker image using kubectl cmd with specific cmd
body: <p>I used to run wiremock image using flowing <em><strong>docker run</strong></em> cmd :</p>
  <pre><code>docker run -it -p 8787:8787 rodolpheche/wiremock --port 8787 --verbose
  </code></pre>
  <p>Now I am trying to run it in Kubernetes using <em><strong>kubectl run</strong></em> cmd, the following one is running successfully</p>
  <pre><code>kubectl run wiremock --image=rodolpheche/wiremock
  </code></pre>
  <p>but I am not able to run it with custom cmd &quot;--port 8787 --verbose&quot;, I also tried the below option but I couldn't run <a href="https://hub.docker.com/r/rodolpheche/wiremock" rel="nofollow noreferrer">wiremock</a> container with these specific options &quot;--port 8787 --verbose&quot;</p>
  <pre><code># Start container using a different command and custom arguments.
  kubectl run wiremock --image=rodolpheche/wiremock --command -- &lt;cmd&gt; &lt;arg1&gt; ... &lt;argN&gt;
  </code></pre>
  <p>is there any way to run it in Kubernetes on port 8787 with the verbose option?</p>