1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [base image](<https://delaparra-services.nl/knowledge-hub/base-image>)

  

Category: Docker 

# base image

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is base image?

 

base image: The image your Dockerfile starts FROM. Everything else is layered on top of it — e.g. node:22-alpine or scratch. The base image is the starting point of a Docker image, named in the ` FROM ` line. Everything in your Dockerfile is added on top of it. Examples are ` php:8.4-fpm-alpine `, ` node:22-alpine ` or the empty ` scratch ` image.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about base image

  

### How is base image used in practice?

 

It decides a lot: the operating system, which packages are available, the image size and how many known security issues you inherit. An Alpine-based image is small; a Debian-based one is larger but more compatible with some libraries.

    

### What should you keep in mind with base image?

 

Pin the version tag, such as ` node:22.11-alpine `, rather than ` latest `. That way your build does not change underneath you. Rebuild regularly anyway, so you pick up security fixes in the base. Official images from Docker Hub or the language's own maintainers are usually the safest choice.

    

### What does an example of base image look like?

 

```
FROM node:22-alpine
```

 

## At a glance

   CategoryDocker Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Docker terms

 

- [ADD](<https://delaparra-services.nl/knowledge-hub/add>) 
- [anonymous volume](<https://delaparra-services.nl/knowledge-hub/anonymous-volume>) 
- [ARG](<https://delaparra-services.nl/knowledge-hub/arg>) 
- [bind mount](<https://delaparra-services.nl/knowledge-hub/bind-mount>) 
- [bridge](<https://delaparra-services.nl/knowledge-hub/bridge>) 
- [build](<https://delaparra-services.nl/knowledge-hub/build>)

 

[All terms starting with B](<https://delaparra-services.nl/knowledge-hub#letter-b>)

 

## Skills

 

- ### Docker Build Strategies

 

Use this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their build is slow, or they need to harden a container for production. Covers multi-stage builds, layer caching, .dockerignore, non-root users, and image size optimization.

 [View skill](<https://delaparra-services.nl/skills/docker-build-strategies>) [Download zip](<https://delaparra-services.nl/skills/docker-build-strategies/download>) 
- ### Multi Stage Dockerfile

 

'Create optimized multi-stage Dockerfiles for any language or framework'

 [View skill](<https://delaparra-services.nl/skills/multi-stage-dockerfile>) [Download zip](<https://delaparra-services.nl/skills/multi-stage-dockerfile/download>) 
- ### Docker Project Foundations

 

Use this skill when setting up, initializing, or Dockerizing a project, even if the user doesn't explicitly mention Docker but describes a need for containerized local development, adding a database or cache dependency, or running services without host-level installs. Covers Dockerfile, compose.yaml, and .dockerignore creation with Docker best practices.

 [View skill](<https://delaparra-services.nl/skills/docker-project-foundations>) [Download zip](<https://delaparra-services.nl/skills/docker-project-foundations/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/base-image/skills.zip>)

 

## Manuals

 

- [Docker for your Laravel app](<https://delaparra-services.nl/manuals/docker-voor-je-laravel-app>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/base-image)
