Repository navigation
feat: add Podman sandbox backend for daemonless execution - #1057
Merged
AmitoVrito merged 3 commits intoOct 2, 2026
Merged
Conversation
PodmanBackend mirrored DockerBackend's hardening flags but shipped with
no test coverage. Mirror the existing Docker backend test pattern
(monkeypatched run_process, no mocks) to cover start()'s restrictive
defaults, exec()/close() command construction, probe() failure
reporting, and build_backend("podman") registration.
Co-authored-by: ramashishmaurya <[email protected]>
1 of 2 tasks
Collaborator
|
Thanks for this, @ramashishmaurya! Merged. I added a bit of test coverage mirroring the existing Docker backend tests since the implementation itself was solid as-is. |
AmitoVrito
added a commit
that referenced
this pull request
Oct 2, 2026
This was referenced Oct 2, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a Podman sandbox backend (
podman) as a rootless, daemonless alternative to Docker. This allows developers—especially those in enterprise or highly-regulated Linux environments—to securely run AI agents without needing the Docker daemon privileges.Type of change
Changes
PodmanBackendinsrc/synapsekit/sandbox/backends/podman.pyextendingSandboxBackend.probe(),start(),exec(), andclose()using the nativepodmanCLI commands, matching the functionality and networking policies of the Docker backend."podman"backend insidesrc/synapsekit/sandbox/backends/base.py'sbuild_backendfactory.Testing
uv run pytest tests/ -q)Documentation
Notes for reviewer
DockerBackendsince the CLI flags fordocker runandpodman runare nearly identical for these use cases.