A Docker image is a read-only template made of stacked filesystem layers, plus the metadata needed to start a container from it. Images are built from Dockerfiles, stored in registries and pulled onto any host that runs containers. Knowing how layers, base images and registries work helps you keep images small, fast to build and easy to ship.

With close to a hundred posts, this tag covers images from several angles. Fundamentals posts explain what Docker is, how an image differs from a VM image and how overlay filesystems merge layers. Hands-on tutorials show how to build an image from scratch, inspect layers with docker history, clean up unused images and run private registries, including Nexus and a default private registry with a default login. You will also find a GitHub Actions build-and-push workflow, OpenShift ImageStreams and supported image sources, and a guide to Docker Engine v29.x changes to image storage and containerd integration.

The material helps developers writing their first Dockerfile, platform engineers running internal registries, and OpenShift users managing image promotion between environments.

Start here

Latest Docker Images articles

Azure Devops Pipeline YAML Example

This page shows a minimal Azure Pipelines YAML file that builds a Docker image with the Docker@2 task on a Microsoft-hosted Ubuntu agent each time code is…

Read More

Docker Tutorials: Docker Image – Example and Sample Programs of Dockerfile

This page collects sample Dockerfiles that build an Ubuntu-based Apache image and show how CMD, ENTRYPOINT, EXPOSE, ARG, ENV, COPY and USER behave. Below the examples you…

Read More

Kubernetes: Pull an Image from a Private Registry using Yaml and Helm File

Kubernetes pulls images from a private registry using a kubernetes.io/dockerconfigjson Secret. A Pod references that Secret through imagePullSecrets, either directly or through its ServiceAccount. This page shows…

Read More

Docker Training Agenda: A Hands-On Learning Path from Containers to Registries and Networking

This revised Docker training agenda turns the original outline into a practical, modern learning path for beginners and early-career DevOps engineers. It maps each module to hands-on outcomes, core commands, and common implementation decisions.

Read More

Install Sonatype Nexus with Docker: RM2/RM3 Commands, Validation Steps, and Important Caveats

A structured, production-minded rewrite of the original 2016 Docker setup for Sonatype Nexus Repository Manager 2 and 3. Includes command examples, a workflow diagram, and clear warnings about outdated tags/endpoints.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

Read More

GitHub Packages Essentials — 2-Hour Hands-On Tutorial

Last Verified: September 2026Scope: GitHub.com / GitHub Enterprise Cloud unless explicitly stated otherwiseDuration: ~2 hours including hands-on practiceAudience: Developers, DevOps engineers, platform engineers, administrators, trainers, and studentsPrimary hands-on registry: GitHub Container Registry…

Read More

Freeing GB on Your Mac: Cleaning Docker, Brew, and Dev Tools

As a developer, there’s that one afternoon, mid-sprint, when a build fails. Not because of bad code, but because your Mac has run out of disk space….

Read More

Could Transparency Logs Become the Next Container Security Control?

Traditionally, container security has been about scanning images, patching vulnerable packages and monitoring workloads after deployment. While these controls are still relevant, there is a more fundamental…

Read More

OpenShift ImageStreams vs Normal Container Images: A Complete Hands-on Tutorial Using HTTPD

1. Introduction OpenShift can deploy applications in two major ways: Both approaches ultimately run containers in Pods, but they behave very differently in terms of tracking, automation,…

Read More

OpenShift Lab 12: Deploy an Application from an Existing Container Image Using the OpenShift Web Console

Lab Objective In this lab, you will deploy an application on OpenShift from an existing container image. This lab is different from building an application from source…

Read More

OpenShift Lab 11: Build and Deploy an Application from Source Code Using the OpenShift Web Console

Lab Objective In this lab, you will build and deploy a web application from source code stored in a Git repository using the OpenShift web console. You…

Read More

Openshift: Lab 4 – Install an application from a Linux container image using the oc CLI tool

What Lab 4 teaches Lab 4 teaches how to use the oc CLI tool from a local machine to deploy an application on a remote OpenShift cluster…

Read More

Openshift: Lab 3 – Install an application from a Linux container image repository using the OpenShift web console

What the lab teaches The lab teaches how to use the OpenShift web console to deploy an application directly from a public container image repository. It uses…

Read More

Openshift: Lab 2 – Install an application from source code in a GitHub repository using the OpenShift web console

What this lab teaches The lab teaches how to use the OpenShift web console to deploy an application directly from source code stored in GitHub. The example…

Read More

New Approaches in DevOps Strengthen Container Security and Compliance

Recent studies in the industry have discovered that a majority of production-deployed container images have critical security concerns. This article describes how the DevOps practice of soft…

Read More

Docker vs. Kubernetes: Key Differences Each DevOps Engineer Should Know

Both Docker and Kubernetes (K8s) provide containerization services in the application development and deployment lifecycles, but they serve different functions. Docker is ideal for building and running…

Read More

Top 10 Container Image Scanners: Features, Pros, Cons & Comparison

Introduction Container Image Scanners are specialized security tools designed to analyze container images for vulnerabilities, misconfigurations, malware, secrets, and compliance risks before those images are deployed into…

Read More

Docker Tutorials: Docker Storage Drivers — Complete Guide with Pros, Cons & Use Cases

🐳 Introduction Docker uses storage drivers to manage the image layers and the container writable layer, which together form the root filesystem of a container. Each storage…

Read More

Docker Tutorials: Engine v29.x — Guide to Major Changes, Architecture & Migration

📌 Introduction Docker remains the most popular container runtime for developers and sysadmins, but starting from Docker Engine v29.x, significant internal architecture changes have emerged. These changes…

Read More

Repository Management System (RMS) and a Registry

A Repository Management System (RMS) and a Registry are related but not always the same thing: ✅ Repository Management System (RMS): ✅ Registry: 🔹 Key Difference: 💡…

Read More

Securing Docker Containers in Production

Here’s something that might surprise you: 84% of organizations now use containers in production. Yet 60% of Docker images contain high-severity vulnerabilities. Before you start worrying, there’s…

Read More

Docker Tutorials: Docker Image – Understanding Dockerfiles instructions & options

Here’s a step-by-step tutorial for Dockerfile, including explanations and examples for each major command. Dockerfile Tutorial A Dockerfile is a text file containing instructions to build a…

Read More

Docker Lab & Assignment – Creating an Image

Here’s a detailed Tutorial and Lab Guide for the listed Docker commands, focused on practical usage, explanations, and step-by-step labs with Ubuntu + git + apache2 as…

Read More

Openshift: What is ImageStreams & Step by Step Tutorials

👉 What ImageStream really gives you👉 Why OpenShift uses it👉 How it’s better (in some cases) than just pulling a normal image 🧠 First, imagine two situations:…

Read More

GitLab Deploy – Container Registry – A Complete Guide

Here’s a complete step-by-step guide for: ✅ Building a Docker image✅ Storing (pushing) it to GitLab’s Container Registry✅ Using GitLab CI/CD pipeline with GitLab SaaS 18.x 🚀…

Read More

OpenShift BuildConfig Tutorial

✅ What is OpenShift BuildConfig? BuildConfig in OpenShift is a Kubernetes-native custom resource provided by OpenShift that defines how to build a container image from source code….

Read More

OpenShift-Supported Container Images Registry

OpenShift provides officially supported container images that are fully compliant with its security and operational requirements. These images are designed to run smoothly on OpenShift with non-root…

Read More

What is Openshift S2I?

🎯 What is S2I? S2I = Source-to-Image ✅ It’s a build process invented by OpenShift (Red Hat) to automate: “Take my source code + take a base…

Read More

Limitation with OpenShift with Docker Images compare to Vanilla Kubernetes

Let me explain very clearly, so you fully understand why some images work, some don’t in OpenShift 🚀: 🎯 Big Picture: OpenShift Is Different from Vanilla Kubernetes…

Read More

Docker Images: frequently asked questions

What is the difference between a Docker image and a container?

An image is a read-only, layered template. A container is a running or stopped instance of an image with its own thin writable layer on top, so many containers can share the same image.

How do I see the layers in a Docker image?

Run docker history <image> to list each layer with its size and the instruction that created it. Add --no-trunc to see the full commands.

How do I remove unused Docker images?

docker image prune removes dangling images, and docker image prune -a removes every image not used by a container. docker system prune also cleans up stopped containers, unused networks and build cache.

What is the scratch image?

scratch is a reserved, empty base image in Docker. A Dockerfile that starts with FROM scratch produces an image containing only the files you add, which is common for statically linked binaries.