# docker-library/busybox architecture

> Architecture diagram of the GitHub repository docker-library/busybox, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/docker-library/busybox
- Repository: https://github.com/docker-library/busybox

## Overview

This repository maintains Docker’s Official BusyBox image, rather than the BusyBox application source. The user-facing workflow is to obtain and run the image; the README points users to Docker Hub for usage details. The tree shows image definitions for three libc variants across two release tracks, with architecture-specific OCI artifacts. Source excerpts were unavailable, so relationships between Dockerfiles and generated artifacts are not asserted.

Main entry points: [`latest/glibc/Dockerfile`](https://github.com/docker-library/busybox/blob/master/latest/glibc/Dockerfile) (Latest glibc), [`latest/musl/Dockerfile`](https://github.com/docker-library/busybox/blob/master/latest/musl/Dockerfile) (Latest musl), [`latest/uclibc/Dockerfile`](https://github.com/docker-library/busybox/blob/master/latest/uclibc/Dockerfile) (Latest uclibc), [`latest-1/glibc/Dockerfile`](https://github.com/docker-library/busybox/blob/master/latest-1/glibc/Dockerfile) (Prior glibc)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_definitions["Image definitions"]
  node_latest_glibc_def["Latest glibc"]
  node_latest_musl_def["Latest musl"]
  node_latest_uclibc_def["Latest uclibc"]
  node_old_glibc_def["Prior glibc"]
  node_old_musl_def["Prior musl"]
  node_old_uclibc_def["Prior uclibc"]
end

subgraph group_artifacts["OCI image artifacts"]
  node_latest_glibc_oci[("Latest glibc OCI")]
  node_latest_musl_oci[("Latest musl OCI")]
  node_latest_uclibc_oci[("Latest uclibc OCI")]
  node_old_glibc_oci[("Prior glibc OCI")]
  node_old_musl_oci[("Prior musl OCI")]
  node_old_uclibc_oci[("Prior uclibc OCI")]
end

node_user(("Image user"))
node_hub["BusyBox image"]

node_user -->|"uses"| node_hub
node_latest_glibc_def -.->|"produces"| node_latest_glibc_oci
node_latest_musl_def -.->|"produces"| node_latest_musl_oci
node_latest_uclibc_def -.->|"produces"| node_latest_uclibc_oci
node_old_glibc_def -.->|"produces"| node_old_glibc_oci
node_old_musl_def -.->|"produces"| node_old_musl_oci
node_old_uclibc_def -.->|"produces"| node_old_uclibc_oci

click node_latest_glibc_def "https://github.com/docker-library/busybox/blob/master/latest/glibc/Dockerfile"
click node_latest_musl_def "https://github.com/docker-library/busybox/blob/master/latest/musl/Dockerfile"
click node_latest_uclibc_def "https://github.com/docker-library/busybox/blob/master/latest/uclibc/Dockerfile"
click node_old_glibc_def "https://github.com/docker-library/busybox/blob/master/latest-1/glibc/Dockerfile"
click node_old_musl_def "https://github.com/docker-library/busybox/blob/master/latest-1/musl/Dockerfile"
click node_old_uclibc_def "https://github.com/docker-library/busybox/blob/master/latest-1/uclibc/Dockerfile"
click node_latest_glibc_oci "https://github.com/docker-library/busybox/tree/master/latest/glibc"
click node_latest_musl_oci "https://github.com/docker-library/busybox/tree/master/latest/musl"
click node_latest_uclibc_oci "https://github.com/docker-library/busybox/tree/master/latest/uclibc"
click node_old_glibc_oci "https://github.com/docker-library/busybox/tree/master/latest-1/glibc"
click node_old_musl_oci "https://github.com/docker-library/busybox/tree/master/latest-1/musl"
click node_old_uclibc_oci "https://github.com/docker-library/busybox/tree/master/latest-1/uclibc"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_latest_glibc_def,node_latest_musl_def,node_latest_uclibc_def,node_old_glibc_def,node_old_musl_def,node_old_uclibc_def,node_user toneBlue
class node_latest_glibc_oci,node_latest_musl_oci,node_latest_uclibc_oci,node_old_glibc_oci,node_old_musl_oci,node_old_uclibc_oci toneAmber
class node_hub toneIndigo
```

## Components

### Image definitions

- [Latest glibc](https://github.com/docker-library/busybox/blob/master/latest/glibc/Dockerfile): `latest/glibc/Dockerfile`
- [Latest musl](https://github.com/docker-library/busybox/blob/master/latest/musl/Dockerfile): `latest/musl/Dockerfile`
- [Latest uclibc](https://github.com/docker-library/busybox/blob/master/latest/uclibc/Dockerfile): `latest/uclibc/Dockerfile`
- [Prior glibc](https://github.com/docker-library/busybox/blob/master/latest-1/glibc/Dockerfile): `latest-1/glibc/Dockerfile`
- [Prior musl](https://github.com/docker-library/busybox/blob/master/latest-1/musl/Dockerfile): `latest-1/musl/Dockerfile`
- [Prior uclibc](https://github.com/docker-library/busybox/blob/master/latest-1/uclibc/Dockerfile): `latest-1/uclibc/Dockerfile`

### OCI image artifacts

- [Latest glibc OCI](https://github.com/docker-library/busybox/tree/master/latest/glibc): `latest/glibc`
- [Latest musl OCI](https://github.com/docker-library/busybox/tree/master/latest/musl): `latest/musl`
- [Latest uclibc OCI](https://github.com/docker-library/busybox/tree/master/latest/uclibc): `latest/uclibc`
- [Prior glibc OCI](https://github.com/docker-library/busybox/tree/master/latest-1/glibc): `latest-1/glibc`
- [Prior musl OCI](https://github.com/docker-library/busybox/tree/master/latest-1/musl): `latest-1/musl`
- [Prior uclibc OCI](https://github.com/docker-library/busybox/tree/master/latest-1/uclibc): `latest-1/uclibc`

### Other components

- **Image user**
- **BusyBox image**

## Connections

- Image user → BusyBox image: uses (evidence: `README.md`)
- Latest glibc → Latest glibc OCI: produces
- Latest musl → Latest musl OCI: produces
- Latest uclibc → Latest uclibc OCI: produces
- Prior glibc → Prior glibc OCI: produces
- Prior musl → Prior musl OCI: produces
- Prior uclibc → Prior uclibc OCI: produces
