title: Run SpringBoot-based docker image return error message:Invalid or corrupt jarfile /app.jar
body: <p>I followed the Spring <strong>official tutorial</strong>(<a href="https://spring.io/guides/gs/spring-boot-docker/" rel="noreferrer">https://spring.io/guides/gs/spring-boot-docker/</a>) to build springBoot-based app to docker image. The docker image was built successfully, but when I wanted to execute <code>docker run</code> command to start a container, I got the following error message: </p>
  
  <pre><code>Error: Invalid or corrupt jarfile /app.jar
  </code></pre>
  
  <p>and the containner couldn't start running normally. </p>
  
  <p>Has anybody gotten the same error message before? I really need your help. Thank you very much!</p>