The short answer
- rust:1-slim is 108 MB smaller unpacked on amd64 (927 MB vs 1,036 MB, 10% less).
- As a download, rust:1-slim is 327 MB compressed against 352 MB for rust:1-alpine: 1.1× less to pull.
- rust:1-alpine has fewer known vulnerabilities: 0 (0 critical or high) against 1720 (108 critical or high) in rust:1-slim.
- 0 of rust:1-slim's 1720 findings have a fixed version available upstream.
- Base OS: rust:1-slim is built on Debian 13.7 (trixie); rust:1-alpine on Alpine Linux 3.24.3.
- Alpine images use musl libc instead of glibc. Most software runs unchanged; prebuilt binaries linked against glibc (some Python wheels, Node native modules, vendor agents) may not.
- Packages detected: 118 in rust:1-slim, 31 in rust:1-alpine.
- Filesystem layers: 2 vs 3.
- Platforms: only rust:1-slim ships arm/v7, i386, s390x.
| rust:1-slim | rust:1-alpine | |
|---|---|---|
| Download, amd64 | 327 MB | 352 MB |
| Unpacked, amd64 | 927 MB | 1,036 MB |
| Download, arm64 | 287 MB | 351 MB |
| Base OS | Debian 13.7 (trixie) | Alpine Linux 3.24.3 |
| Layers | 2 | 3 |
| Packages | 118 | 31 |
| Files | 5,606 | 1,549 |
| Known vulnerabilities | C 1H 107M 774L 837? 1 | ✓ 0 known |
| Default user | root | root |
| Platforms | 7 | 4 |
| Last pushed | 4 days ago | 2 days ago |
Size
Compressed (download)Unpacked (on disk)
Vulnerabilities
CriticalHighMediumLowUnknown
Compare against something else →
Highlighted cells are lower (smaller or fewer). Sizes from Docker Hub checked 2026-11-01; measurements and SBOMs from 2026-10-31 and 2026-10-26; vulnerability database 2026-11-01. Methodology.