Skip to main content

rostainer

pipeline status coverage report PyPI

A flexible, distro agnostic tool for ROS (1 and 2) development using Docker containers.

Requires Docker and Python 3 on the host; target machines for rostainer package deployments need only Docker. On Python 3.11+ the CLI is standard-library only; on older Python (e.g. Ubuntu 22.04's default 3.10) pipx also installs the small tomli package, for reading .rostainer.toml.

Full documentation

This README only covers the quick start. Everything else - the full .rostainer.toml settings reference, GPU acceleration, hardware access, volume mounts, networking, packaging for deployment, LSP setup, and the rostainer_cli API reference - lives in docs/. Build and open it locally:

pip install -r docs/requirements.txt
sphinx-build -b html docs docs/_build/html
python3 -m http.server -d docs/_build/html   # then open http://localhost:8000

Quick Start

pipx install rostainer                  # or: uv tool install rostainer (see docs/)

mkdir my_ros_workspace && cd my_ros_workspace
rostainer init                          # scaffolds .rostainer.toml and src/
rostainer start                         # prompts for ROS distro/middleware
rostainer shell                         # drop into the running container

Commands

  • rostainer init - Initialize a new ROS workspace with example configs
  • rostainer start - Start ROS environment (prompts for distro/middleware)
  • rostainer restart - Restart ROS environment, keeping its build (fast)
  • rostainer rebuild - Rebuild the workspace from scratch (--image: the Docker image too)
  • rostainer stop - Stop running ROS environment, for start to resume quickly (--rm: remove the container; the build is kept either way)
  • rostainer shell - Drop into bash shell in running container
  • rostainer logs - Show a running container's logs, or just its build errors
  • rostainer status - Show status of ROS environment
  • rostainer prune - Remove unused build caches, old images and old package bundles
  • rostainer package - Build a deployable runtime image and install it on a target machine

Credits

This toolkit created with help from LLMs (Claude + Gemini)

Metadata

Release files for rostainer 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rostainer 0.0.1
File Size Uploaded Provenance
rostainer-0.0.1.tar.gz 101.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rostainer 0.0.1
File Interpreter ABI Platform
rostainer-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 230.3 kB

Release files / rostainer-0.0.1.tar.gz

Download URL rostainer-0.0.1.tar.gz
Size 101.7 kB
Tags Source
SHA-256 checksum
How to use checksums
db8f827a9efcbf979bf129a3da4d1451374857516c091cc46fb817ad1514a0a1
BLAKE2b-256 checksum
How to use checksums
82fc7042c9be89f32b037ab0139ecfcc315ccb6fd9a6899570fe172b3249670a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Release files / rostainer-0.0.1-py3-none-any.whl

Download URL rostainer-0.0.1-py3-none-any.whl
Size 128.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e9df807d9dd90620aa6f185b27c943ca0a2f984d6bcb73a3f7b40816ddaeb56
BLAKE2b-256 checksum
How to use checksums
4e42575ea3aa9c2d7a7220eec5ba359d3cf32977a472fb1af8aaf27f5f54c814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Security for rostainer 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page