<p>I'd like to use kubectl to run this docker image :</p>
<pre><code>docker run --rm -p 8787:8787 -e PASSWORD=monpassword docker.io/inseefrlab/utilitr:latest
</code></pre>
<p>I'm looking for the equivalent kubectl command.</p>
<p>Many thanks in advance !</p>

Damien Dotta
<p>Its not that it is not possible, just not the best way to run via an equivalent kubectl command as that would mean running kubectl interactively. But, if that's what you ask, you can use these:</p>
<pre><code>kubectl run utilitr --image=inseefrlab/utilitr:latest
</code></pre>
<p>&amp;</p>
<pre><code>kubectl port-forward utilitr 8787:8787
</code></pre>
