Introduction
Sometimes you want your container to be as small as possible with only your app inside. The scratch base image is an empty starting point that helps you build tiny containers without extra files or software.
When you want to create a container with only your compiled app and no extra system files.
When you need the smallest possible container size to save storage and speed up downloads.
When your app does not need any operating system tools or libraries to run.
When you want to improve security by reducing the attack surface inside the container.
When you are packaging a static binary or a simple script that runs alone.