title: pass parameters to docker entrypoint
body: <p>I have Dockerfile</p>
  
  <pre><code>FROM    java:8
  ADD     my_app.jar /srv/app/my_app.jar
  WORKDIR /srv/app
  ENTRYPOINT ["java", "-jar", "my_app.jar", "--spring.config.location=classpath:/srv/app/configs/application.properties"]
  </code></pre>
  
  <p>How I can do dynamic paramethers for java without <code>./run.sh</code> in entrypoint? ( as <code>-Dversion=$version</code> or others )</p>
  
  <p>I want pass this parameters when start container.</p>
  
  <p><code>--entrypoint something</code> doesn't work on Docker 1.11 ;(</p>