title: Permission denied docker-entrypoint.sh
body: <p>I've been with this problem for a long time and I would like to clarify this problem, since the documentation doesn't say much.</p>
  <pre><code>[FATAL tini (6)] exec /sbin/docker-entrypoint.sh failed: Permission denied
  </code></pre>
  <p>What is <code>tini</code>?
  <br />
  Why the error with the permissions?</p>
  <h3><em>Dockerfile:</em></h3>
  <hr />
  <pre><code>COPY entrypoint-base.sh /sbin/docker-entrypoint.sh
  
  ENTRYPOINT [&quot;tini&quot;, &quot;--&quot;, &quot;/sbin/docker-entrypoint.sh&quot;]
  </code></pre>