title: Default arguments in Docker
body: <p>I am preparing a container that should be always called this way:</p>
  
  <pre><code>docker run -it --rm foo:bar arg1 arg2 ... argN
  </code></pre>
  
  <p>Where <code>arg1</code>, <code>arg2</code>, ..., <code>argN</code> are arguments that will be passed to the entry point. For a number of reasons, it just does not make sense to start this container without <code>-it</code> and <code>--rm</code>. Is it possible to set my container such that users do not need to pass the arguments <code>-it</code> and <code>--rm</code>? In other words, I want users to simply call:</p>
  
  <pre><code>docker run foo:bar arg1 arg2 ... argN
  </code></pre>
  
  <p>and <code>-it</code> and <code>--rm</code> will be implicit. I know I can simply wrap docker with a shell script that always adds those arguments, but I am wondering how/if docker deals with that.</p>