culTest

    One of the 50 questions in this topic

    How much do you know about Docker?

    What is a scratch image in Docker?

    Answers

    A damaged or corrupted image
    A temporary image used during construction
    A completely empty imageCorrect
    An image created from scratch by the user

    A scratch image is a completely empty image, represented by FROM scratch in a Dockerfile. It is used to build minimal images containing only the compiled application and its direct dependencies, ideal for static executables such as those compiled in Go, resulting in extremely small and safe images.