title: Docker - Fail to run container from imported image with entrypoint
body: <p>I have an official MySQL container. I do</p>
  
  <pre><code>docker export &lt;cont_name&gt; &gt; ~/Desktop/mysql.tar
  </code></pre>
  
  <p>Next I do</p>
  
  <pre><code>sudo tar -c ~/Desktop/mysql.tar | docker import --change "ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" --change "ENV MYSQL_MAJOR 5.7" --change "ENV MYSQL_VERSION 5.7.8-rc" --change "ENTRYPOINT [\"/entrypoint.sh\"]" --change "EXPOSE 3306" --change "VOLUME /var/lib/mysql" --change "CMD [\"mysqld\"]" - mysql:kyriakos
  </code></pre>
  
  <p>and finally</p>
  
  <pre><code>docker run --env "MYSQL_ROOT_PASSWORD=root" --name mysql_kyr mysql:kyriakos
  </code></pre>
  
  <p>and I get</p>
  
  <pre><code>exec: "/entrypoint.sh": stat /entrypoint.sh: no such file or directory
  Error response from daemon: Cannot start container a15613493ee94a159ff0821974742350ae5df26b0f659932dc7cb3264295e944: [8] System error: exec: "/entrypoint.sh": stat /entrypoint.sh: no such file or directory
  </code></pre>
  
  <p>Am I doing something wrong with the import? In the .tar file the <code>/entrypoint.sh</code> seems to exist..</p>
  
  <p>Thank you</p>