vascoguita/raspios-docker
À propos
Raspberry Pi OS Docker images
Systèmes et infrastructureProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalRaspberry Pi OS Docker Image
Official root filesystems. Multi-arch. Auto-updated weekly.
Why?
Building software for the Raspberry Pi usually means either cross-compiling
with a toolchain you don't fully trust, waiting hours on the Pi itself, or
cobbling together a chroot from a raw .img file.
raspios-docker gives you the real Raspberry Pi OS userland - extracted
directly from the official Lite release images - as a standard Docker image you
can pull and run in seconds.
- Develop and test Raspberry Pi software on any machine - your laptop, a CI runner, a cloud VM.
- Reproduce production environments - the image is Raspberry Pi OS, not a Debian derivative patched to look like one.
- Pin to a specific release - immutable date-stamped tags guarantee bit-for-bit reproducibility.
Quick Start
docker run --rm -it --platform linux/arm64 vascoguita/raspios
That's it. You're inside a Raspberry Pi OS shell.
[!IMPORTANT] Always specify
--platformto select the target architecture. Uselinux/arm64for 64-bit orlinux/arm/v7/linux/arm/v6for 32-bit images.
Use it as a base image in your Dockerfile:
FROM vascoguita/raspios:latest
RUN apt-get update && apt-get install -y python3
COPY app/ /opt/app/
CMD ["python3", "/opt/app/main.py"]
[!NOTE] Running on an x86_64 host? You'll need QEMU for ARM emulation. See Emulation Setup below.
Available Tags
All images are published to
Docker Hub → vascoguita/raspios.
Rolling tags (always point to the latest release)
| Tag | Architectures | Description |
|---|---|---|
latest / arm64 |
linux/arm64 |
Latest 64-bit release |
armhf |
linux/arm/v6 · linux/arm/v7 · linux/arm64 |
Latest 32-bit release |
trixie / arm64-trixie |
linux/arm64 |
Latest 64-bit Trixie release |
armhf-trixie |
linux/arm/v6 · linux/arm/v7 · linux/arm64 |
Latest 32-bit Trixie release |
bookworm / arm64-bookworm |
linux/arm64 |
Latest 64-bit Bookworm release |
armhf-bookworm |
linux/arm/v6 · linux/arm/v7 · linux/arm64 |
Latest 32-bit Bookworm release |
bullseye / arm64-bullseye |
linux/arm64 |
Latest 64-bit Bullseye release |
armhf-bullseye |
linux/arm/v6 · linux/arm/v7 · linux/arm64 |
Latest 32-bit Bullseye release |
buster / arm64-buster |
linux/arm64 |
Latest 64-bit Buster release |
armhf-buster |
linux/arm/v6 · linux/arm/v7 · linux/arm64 |
Latest 32-bit Buster release |
Immutable tags (pinned, never overwritten)
| Tag pattern | Example | Description |
|---|---|---|
arm64-<suite>-YYYY-MM-DD |
arm64-bookworm-2025-05-06 |
Specific 64-bit release |
armhf-<suite>-YYYY-MM-DD |
armhf-bookworm-2025-05-06 |
Specific 32-bit release |
[!TIP] Use immutable tags in CI pipelines and production Dockerfiles to guarantee reproducible builds.
Emulation Setup for x86_64 Hosts
To run ARM containers on an Intel/AMD machine, install QEMU user-mode emulation. After installing, Docker will automatically use QEMU to run ARM images - no extra flags needed.
Debian / Ubuntu:
sudo apt-get install -y qemu-user-static binfmt-support
Fedora:
sudo dnf install -y qemu-user-static
Arch Linux:
sudo pacman -S qemu-user-static binfmt-qemu-static
How It Works
The build is fully automated and runs every Monday at 08:00 UTC without manual intervention.
- Discover: The pipeline checks for new Raspberry Pi OS Lite releases.
- Check: It verifies if the release is already published on Docker Hub. If so, it skips the build.
- Download & Verify: It downloads the official
.imgarchive and verifies its SHA-256 checksum. - Extract: The official root filesystem is extracted using
libguestfs. - Build & Push: It builds multi-arch Docker images from
scratchand pushes them to Docker Hub.
Use Cases
| Scenario | Example |
|---|---|
| CI/CD testing | Run your test suite against real Raspberry Pi OS in GitHub Actions |
| Cross-compilation | Build ARM binaries inside the container on your x86 dev machine |
| IoT prototyping | Develop and iterate on Pi-targeted applications without hardware |
| Education | Learn Linux on the same OS your Raspberry Pi runs - from any computer |
| Packaging | Build .deb packages for Raspberry Pi OS in a clean, reproducible environment |
License
This project is licensed under the MIT License.
Code of Conduct
Please review our Code of Conduct to understand the expectations for behavior within the project community.
Security Policy
For information on our security policy and reporting vulnerabilities, please check our Security Policy.
Contributing Guidelines
We welcome contributions! Before getting started, please read our Contributing Guidelines for information on how to contribute to the project.
Explorer des projets similaires
Chargement…