<p>I would like to start a container with bash only. In other words, a bash that does not stop, i guess an interactive bash or shell .</p>
<p>So far when i put sommething like [&quot;bash&quot;] or [&quot;bin/bash&quot;] or simply bash, the container run and stop. Is there a way to start a bash that run continuously ?</p>
<h1>EDIT1</h1>
<p>So far the only way that works for me is to write:</p>
<pre><code>command:
   - tail
   - -f
   - /dev/null
</code></pre>
<h1>Edit2</h1>
<p>My use case here is that i want to build a docker image simply to develop in it. So that image has all the tool i need to work.</p>
<p>Hence I wonder how such container should be start. I don't want to run any of the dev tool at start. I simply want the container to be available ready for someome to run the interactive shell at any time.</p>

MaatDeamon
<p>you can try the sleep command in while loop.</p>
<pre><code>command: [&quot;/bin/sh&quot;]
args: [&quot;-c&quot;, &quot;while true; do sleep 10;done&quot;]
</code></pre>
