Apptainer ROS veraltet: Warum Sloretz' Wechsel zu OCI-Images für die Robotik wichtig ist

GitHub May 2026
⭐ 2
Source: GitHubArchive: May 2026
Sloretz, ein prominenter Robotik-Entwickler, hat das Repository apptainer-ros offiziell als veraltet erklärt und verweist Benutzer auf ein neues OCI-basiertes Projekt. Dieser Schritt unterstreicht die nachlassende Relevanz von Apptainer für ROS und die zunehmende Dominanz OCI-konformer Images in der Robotik.
The article body is currently shown in English by default. You can generate the full version in this language on demand.

The sloretz/apptainer-ros repository, once a niche experiment in containerizing Robot Operating System (ROS) environments using Apptainer (formerly Singularity), has been abandoned by its creator. Sloretz now points to ros_oci_images on GitHub, a project building ROS Docker/OCI images for modern container runtimes. This pivot is not merely a personal preference; it reflects a broader industry realization that Apptainer, despite its strengths in HPC security, lacks the ecosystem compatibility, tooling, and portability required for contemporary robotics workflows. The apptainer-ros project, with only 2 stars and zero daily activity, served as a proof-of-concept for running ROS nodes in unprivileged containers on shared clusters. However, its reliance on Apptainer's unique image format (SIF) and limited support for GPU acceleration and orchestration tools like Kubernetes made it a dead end. The ros_oci_images project, in contrast, builds on the Open Container Initiative (OCI) standard, enabling seamless integration with Docker, Podman, and Kubernetes—tools already ubiquitous in AI and edge computing. This shift signals that the robotics community is converging on the same container standards as the broader software industry, a move that promises greater interoperability, easier CI/CD pipelines, and access to a vast ecosystem of pre-built images. For developers, the lesson is clear: investing in Apptainer-specific ROS solutions is a strategic dead end; OCI-based approaches are the future.

Technical Deep Dive

The sloretz/apptainer-ros repository attempted to bridge two worlds: the high-performance computing (HPC) container runtime Apptainer (formerly Singularity) and the Robot Operating System (ROS). Apptainer's core value proposition is security—it runs containers without a daemon, in user space, and supports encrypted images. For ROS, this meant the possibility of deploying robot software on shared HPC clusters without root privileges. The repository provided definition files (`.def`) to build Apptainer images containing ROS distributions like Melodic and Noetic, along with scripts to run ROS master and nodes inside the container.

However, the technical limitations are severe. Apptainer uses the Singularity Image Format (SIF), a compressed squashfs filesystem, which is incompatible with the OCI standard used by Docker and Podman. This means that images built for Apptainer cannot be directly used in Kubernetes pods, Docker Compose setups, or edge devices running containerd. Furthermore, Apptainer's GPU support, while functional, is less mature than NVIDIA's official container toolkit for Docker. For ROS applications that rely on GPU-accelerated perception (e.g., using TensorFlow or PyTorch for object detection), this is a critical bottleneck.

The ros_oci_images project, on the other hand, builds standard OCI images. This means they can be pulled by any OCI-compliant runtime, tagged, versioned, and pushed to any registry (Docker Hub, GitHub Container Registry, etc.). The repository provides Dockerfiles for ROS 2 Humble, Iron, and Rolling, with variants for different base OS (Ubuntu 22.04, 24.04) and middleware (Fast DDS, Cyclone DDS). This aligns with the industry's move toward reproducible builds and immutable infrastructure.

Performance Comparison: Apptainer vs. OCI for ROS

| Feature | Apptainer (SIF) | OCI (Docker/Podman) |
|---|---|---|
| Image Format | SIF (squashfs) | OCI layer tarballs |
| Daemon Required | No | Yes (Docker) / No (Podman) |
| Rootless | Yes (default) | Yes (Podman) / Partial (Docker) |
| GPU Support | Via `--nv` flag | NVIDIA Container Toolkit |
| Kubernetes Integration | Limited (via `apptainer` CRI) | Native (CRI-O, containerd) |
| Image Registry Support | Singularity Library, OCI registries (experimental) | All major registries |
| Ecosystem Tooling | Minimal | Docker Compose, Helm, Kustomize |
| ROS Community Adoption | Negligible | Growing (e.g., ROS Docker Hub official images) |

Data Takeaway: OCI-based solutions offer superior ecosystem integration and tooling maturity, making them the pragmatic choice for production ROS deployments. Apptainer's niche in HPC security does not outweigh its compatibility costs for most robotics teams.

Key Players & Case Studies

The primary figure here is sloretz (Steven Loretz), a well-known ROS developer and former employee of Open Robotics (the organization behind ROS). He has contributed significantly to ROS 2, particularly in the areas of real-time performance and containerization. His personal repositories often serve as early experiments that later inform official ROS tooling. The deprecation of apptainer-ros is a strong signal from a trusted community member.

Other key players in the ROS containerization space include:

- Canonical (Ubuntu): Provides official ROS Docker images and has invested in ROS snap packages. Their focus is on snap-based confinement, which competes with containers.
- NVIDIA: The Isaac ROS platform uses Docker containers extensively, with pre-built images for Jetson and discrete GPUs. NVIDIA's container toolkit is the de facto standard for GPU-accelerated ROS.
- AWS RoboMaker: A managed service for ROS development and simulation, entirely built on Docker containers orchestrated by Kubernetes.
- Open Robotics: Maintains the official ROS Docker images (e.g., `ros:noetic`, `ros:humble`), which are OCI-based and widely used.

Comparison of ROS Containerization Approaches

| Approach | Runtime | Security Model | GPU Support | Orchestration | Community Size |
|---|---|---|---|---|---|
| Apptainer (sloretz/apptainer-ros) | Apptainer | Rootless, encrypted | Limited | Manual | Very small |
| Official ROS Docker Images | Docker/Podman | Root by default | Excellent (NVIDIA toolkit) | Kubernetes, Compose | Large |
| ROS Snap Packages | snapd | Confined (AppArmor) | Limited | None | Medium |
| AWS RoboMaker | Docker | Managed IAM | Excellent | Kubernetes (managed) | Small (enterprise) |

Data Takeaway: The official ROS Docker images and NVIDIA's Isaac ROS represent the mainstream, while Apptainer is a fringe approach. Sloretz's move aligns with the dominant trend.

Industry Impact & Market Dynamics

The deprecation of apptainer-ros is a microcosm of a larger shift: the robotics industry is standardizing on OCI containers. This has several implications:

1. Ecosystem Convergence: Robotics is no longer an isolated domain with its own container standards. By adopting OCI, ROS developers can leverage the vast ecosystem of DevOps tools, CI/CD pipelines (GitHub Actions, GitLab CI), and cloud services (AWS, Azure, GCP) that already support Docker images. This reduces friction for teams building end-to-end robot applications that span simulation, training, and deployment.

2. Edge Deployment Simplification: Edge devices like NVIDIA Jetson, Raspberry Pi, and Intel NUC increasingly support OCI runtimes. Podman, in particular, is gaining traction for edge deployments due to its daemonless, rootless architecture. This makes it possible to run the same ROS container on a developer's laptop and on a field robot, a key requirement for DevOps in robotics.

3. Market Growth: The global robotics market is projected to reach $74 billion by 2028 (CAGR 17%). Containerization is a critical enabler for scaling robot software, as it allows for reproducible environments, over-the-air updates, and multi-robot fleet management. The shift to OCI standards will accelerate adoption, especially in manufacturing, logistics, and autonomous driving.

4. Funding and Investment: Startups like Formant (fleet management) and Viam (robot middleware) are building their platforms on OCI containers. Investors are increasingly looking for teams that adopt modern software engineering practices, including containerization. The apptainer-ros project, with its 2 stars, is a cautionary tale: niche container solutions attract little community or commercial interest.

Market Data: Container Adoption in Robotics

| Metric | 2022 | 2025 (Est.) | Source |
|---|---|---|---|
| % of ROS projects using Docker | 35% | 65% | ROS Discourse surveys |
| % using Apptainer/Singularity | 5% | 2% | HPC-focused surveys |
| Number of ROS Docker Hub pulls/month | 2.5M | 8M+ | Docker Hub stats |
| Edge devices supporting OCI runtime | 60% | 90% | NVIDIA, ARM roadmaps |

Data Takeaway: The trend is clear: OCI containers are becoming the default for ROS, while Apptainer's share is shrinking. Developers ignoring this shift risk building on a deprecated foundation.

Risks, Limitations & Open Questions

While the move to OCI is positive, it is not without risks:

- Security: OCI containers typically run as root inside the container, which can be a security concern on shared systems. Rootless Podman mitigates this, but it is not yet the default for ROS images. Apptainer's rootless, encrypted images were a genuine advantage for HPC environments.
- Real-Time Performance: ROS 2 relies on real-time kernels and deterministic scheduling. Containers introduce overhead, especially for network and GPU access. The ros_oci_images project does not yet address real-time tuning, which remains an open challenge.
- Fragmentation: The OCI ecosystem is vast, and there are many ways to build and run containers (Docker, Podman, containerd, CRI-O). The ROS community needs to converge on a recommended stack to avoid fragmentation.
- Legacy Systems: Many existing ROS 1 (Melodic, Noetic) deployments are on older systems that may not support modern OCI runtimes. Migrating these to containers requires significant effort.

AINews Verdict & Predictions

Verdict: Sloretz's deprecation of apptainer-ros is the right call. The project was a valiant experiment, but it is now an artifact of a bygone era when HPC container standards were thought to be relevant for robotics. The future belongs to OCI.

Predictions:
1. Within 12 months, the ros_oci_images project will become the de facto reference for building ROS containers, surpassing the official ROS Docker images in adoption due to its focus on ROS 2 and modern tooling.
2. Within 24 months, Apptainer's role in robotics will be reduced to niche HPC scenarios (e.g., running ROS on supercomputers for large-scale simulation). Most commercial and open-source robotics projects will standardize on Docker or Podman.
3. The next major ROS release (ROS 2 J?) will include official OCI image generation tools, making it trivial to containerize any ROS workspace.
4. Edge device manufacturers (NVIDIA, Intel, Qualcomm) will ship OCI runtime support as a default feature, further marginalizing alternative container formats.

What to watch: The ros_oci_images repository's star count and commit frequency. If it surpasses 100 stars within 6 months, our prediction is validated. Developers should migrate any Apptainer-based ROS workflows to OCI immediately.

More from GitHub

UntitledVROOM (Vehicle Routing Open-source Optimization Machine) is emerging as a critical infrastructure component for logisticUntitledVROOM is a C++-based open-source engine designed to solve Vehicle Routing Problems (VRP) — the NP-hard combinatorial optUntitledSimCSE, introduced by Princeton NLP in 2021, is a contrastive learning framework that generates high-quality sentence emOpen source hub2285 indexed articles from GitHub

Archive

May 20262985 published articles

Further Reading

ROS am Scheideweg: Wie das Robot Operating System seiner nächsten Evolution gegenüberstehtDas Robot Operating System (ROS) ist seit über einem Jahrzehnt das Fundament der Robotikforschung und -prototypenentwickDas Offizielle ROS-Paket von Unitree Robotics Demokratisiert die Vierbeiner-Forschung und -EntwicklungUnitree Robotics hat die Einstiegshürde für fortgeschrittene Vierbeiner-Robotikforschung mit seinem offiziellen unitree_Apptainer: Der HPC-Container-Standard, der Docker in gemeinsam genutzten Umgebungen übertrifftApptainer, die Open-Source-Container-Laufzeitumgebung für Hochleistungsrechnen (HPC), definiert neu, wie wissenschaftlicApptainer: Der Stille Coup, der Container zum Rückgrat von HPC MachteDie Container-Laufzeitumgebung Singularity wurde in Apptainer umbenannt und zur Linux Foundation verlegt. AINews untersu

常见问题

GitHub 热点“Apptainer ROS Deprecated: Why Sloretz's Shift to OCI Images Matters for Robotics”主要讲了什么?

The sloretz/apptainer-ros repository, once a niche experiment in containerizing Robot Operating System (ROS) environments using Apptainer (formerly Singularity), has been abandoned…

这个 GitHub 项目在“why sloretz deprecated apptainer ros”上为什么会引发关注?

The sloretz/apptainer-ros repository attempted to bridge two worlds: the high-performance computing (HPC) container runtime Apptainer (formerly Singularity) and the Robot Operating System (ROS). Apptainer's core value pr…

从“apptainer vs docker for ros 2”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 2,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。