DockerState

Home › Language runtimes › rust

Rust rust

The Rust toolchain (rustc and cargo). 3 tags measured; 167,372,852 pulls on Docker Hub.

1-slimsmallest · 927 MB unpacked
1largest · 1,688 MB unpacked
1-alpinefewest known CVEs · 0

Which Rust tag is smallest?

rust:1-slim is the smallest of the tags we measured: 927 MB unpacked and a 327 MB download on amd64, against 1,688 MB and 602 MB for rust:1, 1.8× smaller. The tag with the fewest known vulnerabilities is rust:1-alpine (0, 0 critical or high).

Tags at a glance

Image Size (compressed, amd64) Unpacked Base OS Layers Packages Vulnerabilities Updated
rust:1 602 MB 1,688 MB Debian 13.7 (trixie) 5 455 C 16H 445M 1481L 1833? 41 4 days ago
rust:1-slim 327 MB 927 MB Debian 13.7 (trixie) 2 118 C 1H 107M 774L 837? 1 4 days ago
rust:1-alpine 352 MB 1,036 MB Alpine Linux 3.24.3 3 31 ✓ 0 known 2 days ago

Size by tag (amd64)

Compressed (download)Unpacked (on disk)

Known vulnerabilities by tag

CriticalHighMediumLowUnknown

Download size on arm64

Compressed size of the arm64 (v8) variant, for Apple Silicon, Graviton and Ampere hosts.

Comparisons

Sizes from the Docker Hub API, checked 2026-11-01. Unpacked size, files and packages measured from the amd64 image. Vulnerabilities from Trivy, database dated 2026-11-01. How we measure.