title: How do I modify a startup script in a docker container when it is stopped?
body: <p>We have a docker container which I run as:</p>
  
  <pre><code>docker run --name myname -e PROPERTY1=VALUE1   -d image/name 
  </code></pre>
  
  <p>Dockerfile used to build the container:</p>
  
  <pre><code>ADD start.sh /
  CMD ["/bin/bash","/start.sh"]
  </code></pre>
  
  <p>Can I edit the file start.sh without rebuilding the container.</p>
  
  <p>My guess is</p>
  
  <ul>
  <li>stop the container</li>
  <li>edit the file</li>
  <li>start the container.</li>
  </ul>
  
  <p>How do I edit the file when the container is stopped?</p>
  
  <p>Thanks.</p>