dev-isolator is a command line tool that manages a per-project,
podman based development environment.
Copyright (C) 2026 Martin Köhler
dev-isolator is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version (GPL-3.0-or-later).
See LICENSE for details.
Before using dev-isolator, podman must be installed and
enabled as a user service, typically with:
systemctl --user enable --now podman.serviceThe recommended way to install dev-isolator is pipx,
which runs the CLI in an isolated virtual environment without touching your main Python
environment:
pipx install dev-isolatorAlternatively, one can use pip:
pip install dev-isolatorBoth dev-isolator and di end up on your PATH this way.
Run the test suite with pytest.
- Linux with a working podman installation.
- Python 3.10 or later.
- Python dependencies:
podmanpyyamljinja2tree-sitterandtree-sitter-containerfilepytest, only used by the test-suite (but currently installed with dev-isolator as a regular dependency)
Using the default config just change to the workspace of your project and run
di After the images are built, you get a shell in an isolated Ubuntu 26.04
environment, with a minimal developement and Python toolset installed. Your
current directory is available in /workspace.
If you want to run Opencode in the current directory, just run
di opencodeand it sets up an Opencode session in the current directory, but isolated from
your host. In addition to the current working directory, it gets access your
Opencode configuration from ~/.config/opencode.
In the same way, running
di claude
gives you access to the Claude CLI agent.
If you need to environment, e.g. using ubuntu:24.04 instead of ubuntu:26.04
you can initialize your own project configuration using
di init -b ubuntu:24.04and edit .devisolator/Containerfile to your needs. Afterwards, running
di will rebuild your container.
Futher options and usage information are available in the documentation
Further documentation lives in the docs/ directory:
- Usage — subcommands and command line options
- Sub-configurations (
--config) - Project configuration
- Base images
- Examples: a
.devisolatorfolder
Contributions are welcome from everyone; please follow the guide in CONTRIBUTING.md.