Choosing the right Docker base image
Depending on our end goal, using the image of our favorite Linux distribution might or might not be the best solution. Starting with a full CentOS container image might be a waste of resources, while an Alpine Linux image might not contain the most complete libc for our usage. In other cases, using the image from our favorite programming language might also be a good idea, or not. Let's see this in depth and learn when to choose what source.
Getting ready
To step through this recipe, you will need a working Docker installation.
How to do it…
Most common distributions are available as a container form.
Starting from an Ubuntu image
Ubuntu ships official images that are all tagged with both their release version and ...
Get Infrastructure as Code (IAC) Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.