How to choose a base image for your Dockerfile? I have written about my process of creating a Dockerfile before, and this detail seemed to warrant an own closer look. Here’s how I would go about the decision in detail. What’s The Usecase? What do I need this image to do for me? Do I need to build a new one? If there’s a ready-made official image available, I would opt towards using it instead of rolling my own.