title: Does it make sense to create a docker image from scratch for an application?
body: <p>I have some questions about docker:</p>
  
  <ul>
  <li>Does it make sense to create docker images from scratch?
  Let me explain: I saw in a post a method to create the smallest docker go image (<a href="https://medium.com/@chemidy/create-the-smallest-and-secured-golang-docker-image-based-on-scratch-4752223b7324" rel="nofollow noreferrer">https://medium.com/@chemidy/create-the-smallest-and-secured-golang-docker-image-based-on-scratch-4752223b7324</a>). I was thinking about making the same for a C/C++ application by using full static compilation, but when I take a look on dockerhub I don't see any scratch based images expect alpine, centos, debian... So I was wondering if there is a objection to do so.</li>
  <li>The other question is about docker isolation based on cgroups, etc and libraries. Does the OS still optimize dynamic library load?</li>
  </ul>