glossary: add static terms (#22401)

<!--Delete sections as needed -->

## Description

Reverted the glossary back to some static terms and instead added a tip
to ask AI.

https://deploy-preview-22401--docsdocker.netlify.app/reference/glossary/

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews


- [ ] Editorial review

---------

Signed-off-by: Craig <craig.osterhout@docker.com>
This commit is contained in:
Craig Osterhout 2025-04-17 13:37:39 -07:00 committed by GitHub
parent a86ab99a21
commit a6a887c1cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 130 additions and 2 deletions

View File

@ -3,10 +3,21 @@ title: Glossary
description: Glossary of terms used around Docker
keywords: glossary, docker, terms, definitions
notoc: true
layout: glossary
aliases:
- /engine/reference/glossary/
- /glossary/
---
Need a definition? Docker's AI-powered assistant can help. Select **Ask AI** in the
top navigation and ask it to define a term.
> [!TIP]
>
> Looking for a definition that's not listed or need a more context-aware
> explanation?
>
> Try <a role="button" tabindex="0" class="open-kapa-widget">Ask AI</a>.
<!--
To edit/add/remove glossary entries, visit the YAML file at:
https://github.com/docker/docs/blob/main/data/glossary.yaml
-->

78
data/glossary.yaml Normal file
View File

@ -0,0 +1,78 @@
base image: |
A base image is an image you designate in a `FROM` directive in a Dockerfile.
It defines the starting point for your build.
Dockerfile instructions create additional layers on top of the base image.
A Dockerfile with the `FROM scratch` directive uses an empty base image.
build: |
Build is the process of building Docker images using a Dockerfile. The build
uses a Dockerfile and a "context". The context is the set of files in the
directory in which the image is built.
container: |
A container is a runnable instance of an image. You can start, stop, move, or
delete a container using the Docker CLI or API. Containers are isolated from
one another and the host system but share the OS kernel. They provide a
lightweight and consistent way to run applications.
context: |
A Docker context contains endpoint configuration for the Docker CLI to connect
to different Docker environments, such as remote Docker hosts or Docker
Desktop. Use `docker context use` to switch between contexts.
Docker CLI: |
The Docker CLI is the command-line interface for interacting with the Docker
Engine. It provides commands like `docker run`, `docker build`, `docker ps`,
and others to manage Docker containers, images, and services.
Docker Compose: |
Docker Compose is a tool for defining and running multi-container Docker
applications using a YAML file (`compose.yaml`). With a single command, you
can start all services defined in the configuration.
Docker Desktop: |
Docker Desktop is an easy-to-install application for Windows, macOS, and Linux
that provides a local Docker development environment. It includes Docker
Engine, Docker CLI, Docker Compose, and a Kubernetes cluster.
Docker Engine: |
Docker Engine is the client-server technology that creates and runs Docker
containers. It includes the Docker daemon (`dockerd`), REST API, and the
Docker CLI client.
Docker Hub: |
Docker Hub is Dockers public registry service where users can store, share,
and manage container images. It hosts Docker Official Images, Verified
Publisher content, and community-contributed images.
image: |
An image is a read-only template used to create containers. It typically
includes a base operating system and application code packaged together using
a Dockerfile. Images are versioned using tags and can be pushed to or pulled
from a container registry like Docker Hub.
layer: |
In an image, a layer is a modification represented by an instruction in the
Dockerfile. Layers are applied in sequence to the base image to create the
final image. Unchanged layers are cached, making image builds faster and more
efficient.
multi-architecture image: |
A multi-architecture image is a Docker image that supports multiple CPU
architectures, like `amd64` or `arm64`. Docker automatically pulls the correct
architecture image for your platform when using a multi-arch image.
persistent storage: |
Persistent storage or volume storage provides a way for containers to retain
data beyond their lifecycle. This storage can exist on the host machine or an
external storage system and is not tied to the container's runtime.
registry: |
A registry is a storage and content delivery system for Docker images. The
default public registry is Docker Hub, but you can also set up private
registries using Docker Distribution.
volume: |
A volume is a special directory within a container that bypasses the Union
File System. Volumes are designed to persist data independently of the
container lifecycle. Docker supports host, anonymous, and named volumes.

View File

@ -0,0 +1,39 @@
{{ define "left" }}
{{ partial "sidebar/mainnav.html" . }}
{{ partial "sidebar/sections.html" . }}
{{ end }}
{{ define "main" }}
{{ partial "breadcrumbs.html" . }}
<article class="prose max-w-none dark:prose-invert">
{{ with .Title }}
<h1 class="scroll-mt-36">{{ . }}</h1>
{{ end }}
{{ with .Content }}
{{ . }}
{{ end }}
<table>
<thead>
<tr>
<th>Term</th>
<th>Definition</th>
</tr>
</thead>
<tbody>
{{ range $term, $definition := site.Data.glossary }}
<tr>
<td class="not-prose">
<a class="-top-16 relative" name="{{ $term | anchorize }}"></a>
{{ $term }}
</td>
<td>{{ $definition | $.RenderString }}</td>
</tr>
{{ end }}
</tbody>
</table>
</article>
{{ end }}
{{ define "right" }}
{{ partial "aside.html" . }}
{{ end }}