{
    "url": "https://delaparra-services.nl/knowledge-hub/base-image",
    "locale": "en",
    "title": "base image: Knowledge hub | DeLaParra Services",
    "description": "The image your Dockerfile starts FROM. Everything else is layered on top of it — e.g. node:22-alpine or scratch.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/base-image",
        "nl": "https://delaparra-services.nl/nl/kennisbank/base-image"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/base-image.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/base-image.md",
        "json": "https://delaparra-services.nl/knowledge-hub/base-image.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/base-image.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/base-image.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/base-image.csv",
            "encodingFormat": "text/csv",
            "name": "base-image.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/base-image.json",
            "encodingFormat": "application/json",
            "name": "base-image.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/base-image.md",
            "encodingFormat": "text/markdown",
            "name": "base-image.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/base-image.pdf",
            "encodingFormat": "application/pdf",
            "name": "base-image.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/base-image.zip",
            "encodingFormat": "application/zip",
            "name": "base-image.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/base-image/skills.zip",
            "encodingFormat": "application/zip",
            "name": "base-image-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [base image](<https://delaparra-services.nl/knowledge-hub/base-image>)\n\n  \n\nCategory: Docker \n\n# base image\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is base image?\n\n \n\nbase 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.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about base image\n\n  \n\n### How is base image used in practice?\n\n \n\nIt 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.\n\n    \n\n### What should you keep in mind with base image?\n\n \n\nPin 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.\n\n    \n\n### What does an example of base image look like?\n\n \n\n```\nFROM node:22-alpine\n```\n\n \n\n## At a glance\n\n   CategoryDocker Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Docker terms\n\n \n\n- [ADD](<https://delaparra-services.nl/knowledge-hub/add>) \n- [anonymous volume](<https://delaparra-services.nl/knowledge-hub/anonymous-volume>) \n- [ARG](<https://delaparra-services.nl/knowledge-hub/arg>) \n- [bind mount](<https://delaparra-services.nl/knowledge-hub/bind-mount>) \n- [bridge](<https://delaparra-services.nl/knowledge-hub/bridge>) \n- [build](<https://delaparra-services.nl/knowledge-hub/build>)\n\n \n\n[All terms starting with B](<https://delaparra-services.nl/knowledge-hub#letter-b>)\n\n \n\n## Skills\n\n \n\n- ### Docker Build Strategies\n\n \n\nUse 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.\n\n [View skill](<https://delaparra-services.nl/skills/docker-build-strategies>) [Download zip](<https://delaparra-services.nl/skills/docker-build-strategies/download>) \n- ### Multi Stage Dockerfile\n\n \n\n'Create optimized multi-stage Dockerfiles for any language or framework'\n\n [View skill](<https://delaparra-services.nl/skills/multi-stage-dockerfile>) [Download zip](<https://delaparra-services.nl/skills/multi-stage-dockerfile/download>) \n- ### Docker Project Foundations\n\n \n\nUse 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.\n\n [View skill](<https://delaparra-services.nl/skills/docker-project-foundations>) [Download zip](<https://delaparra-services.nl/skills/docker-project-foundations/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/base-image/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Docker for your Laravel app](<https://delaparra-services.nl/manuals/docker-voor-je-laravel-app>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\n\n \n\n## Need any help?\n\n \n\nStuck 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.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/base-image)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/base-image#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/base-image",
                "name": "base image: Knowledge hub | DeLaParra Services",
                "description": "The image your Dockerfile starts FROM. Everything else is layered on top of it — e.g. node:22-alpine or scratch.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/base-image#term",
                    "name": "base image",
                    "description": "The image your Dockerfile starts FROM. Everything else is layered on top of it — e.g. node:22-alpine or scratch.",
                    "termCode": "base-image",
                    "url": "https://delaparra-services.nl/knowledge-hub/base-image",
                    "inLanguage": "en",
                    "keywords": "Docker",
                    "dateModified": "2026-11-25T17:46:25+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/base-image#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/base-image#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/base-image#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is base image?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is base image used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with base image?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of base image look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "FROM node:22-alpine"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-build-strategies#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/multi-stage-dockerfile#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-project-foundations#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/docker-voor-je-laravel-app#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/base-image#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "base image"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/base-image#dataset",
                "name": "base image",
                "description": "The image your Dockerfile starts FROM. Everything else is layered on top of it — e.g. node:22-alpine or scratch.",
                "url": "https://delaparra-services.nl/knowledge-hub/base-image",
                "identifier": "https://delaparra-services.nl/knowledge-hub/base-image#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/base-image#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Docker",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:25+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "base-image.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/base-image.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "base-image.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/base-image.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "base-image.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/base-image.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "base-image.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/base-image.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "base-image.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/base-image.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "base-image-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/base-image/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}