DockerState

Home › Language runtimes › rust › 1-alpine

rust:1-alpine

The Rust toolchain (rustc and cargo), tag 1-alpine, built on Alpine Linux 3.24.3. Pushed to Docker Hub 2 days ago.

✓ 0 known Starts as root4 platforms

352 MBdownload (compressed)
1,036 MBunpacked on disk
3filesystem layers
31packages
1,549files
docker pull rust:1-alpinerust@sha256:7e9e2d068a107a2adafd19930011178d14a78326053cd4c3a9f7ad3fd049557d

Size per platform

Compressed download size on Docker Hub for each architecture.

  • ppc64le367 MB
  • riscv64359 MB
  • amd64352 MB
  • arm64351 MB

Where the bytes go

Unpacked bytes by directory in the final amd64 filesystem.

  • /usr/local/rustup805 MB
  • /usr/libexec/gcc88 MB
  • /usr/bin56 MB
  • /usr/lib41 MB
  • /usr/local/cargo22 MB
  • /usr/lib/gcc18 MB
  • /usr/x86_64-alpine-linux-musl/lib1.4 MB
  • /bin805 kB
  • /lib670 kB
  • /usr/include252 kB

Layers

The 3 filesystem layers of the amd64 image, in build order, with each layer's compressed size and the build step that made it.

Full build steps
  1. 3.9 MBADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit
  2. 75 MBRUN /bin/sh -c apk add --no-cache ca-certificates musl-dev gcc # buildkit
  3. 273 MBRUN /bin/sh -c set -eux; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') rustArch='x86_64-unknown-linux-musl'; rustupSha256='2ba97d668c06dc4b1884f2a3fa6f4cf14b9bd0c1db379af7e4f87a705ff19edd'; ;; 'aarch64') rustArch='aarch64-unknown-linux-musl'; rustupSha256='7fdbb23acf6495efee2e371580c52b365917551b4835090a225c44ac30915235'; ;; 'ppc64le') rustArch='powerpc64le-unknown-linux-musl'; rustupSha256='d0f97151d3ed165ca11c68b460cabf1b828dc605525ce68bb0ef8f62f78ac8b6'

Known vulnerabilities

0Critical0 with a fix
0High0 with a fix
0Medium0 with a fix
0Low0 with a fix
0Unknown0 with a fix

Trivy found no known vulnerabilities in the 31 packages it identified.

Packages

Alpine packages
31

Image configuration

Base OS
Alpine Linux 3.24.3
Default user
root (no USER set; the entrypoint may still drop privileges)
Entrypoint
—
Command
/bin/sh
Exposed ports
none
Image created
2026-10-21
amd64 digest
sha256:e15c563b25397d4172f34ebe50b3715bb9509c59e537ff58d48902571387b881

Other Rust tags

rust:11,688 MB unpacked · 602 MB downloadC 16H 445M 1481L 1833? 41 rust:1-slim927 MB unpacked · 327 MB downloadC 1H 107M 774L 837? 1

Platform sizes and layers: Docker Hub API, checked 2026-11-01. Unpacked size, files and SBOM: measured 2026-10-26 from digest sha256:e15c563b2539. Vulnerabilities: Trivy re-scan 2026-11-01, database 2026-11-01. Methodology.