title: How to pass ARG value to ENTRYPOINT?
body: <p>Docker 1.9 allows to pass arguments to a dockerfile. See link: <a href="https://docs.docker.com/engine/reference/builder/#arg" rel="noreferrer">https://docs.docker.com/engine/reference/builder/#arg</a></p>
  
  <p>How can i pass the same arugments within ENTRYPOINT Instruction??  </p>
  
  <p>My dockerfile has  </p>
  
  <blockquote>
    <p>ARG $Version=3.1<br>
    ENTRYPOINT /tmp/folder-$Version/sample.sh start  </p>
  </blockquote>
  
  <p>I am getting an error while creating container with above dockerfile.
  Please suggest what is the correct way to specify the argument within ENTRYPOINT instruction??</p>