How to pass arguments to entrypoint in docker-compose.yml : <p>I use this image: dperson/samba</p>

<p>The image is defining it's own entrypoint and I do not want to override it.</p>

<p>I need to pass arguments to the entrypoint, easy with docker only:</p>

<pre><code>docker run ... dperson/samba arg1 arg2 arg3
</code></pre>

<p>But how to do it with docker_compose.yml ?</p>

<p>Right now I use as a workaround: </p>

<pre><code>command: samba.sh arg1 arg2 arg3
</code></pre>

<p>But it is not satisfying as I force the redefinition of the entrypoint.</p>
