GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(core): add Podman compatibility by Tranquility2 · Pull Request #1028 · testcontainers/testcontainers-python

Conversation

@Tranquility2

@Tranquility2 Tranquility2 commented May 30, 2026

Copy link
Copy Markdown
Contributor

Brings Testcontainers for Python to feature parity with testcontainers-go and testcontainers-java for Podman:

  • Detect the runtime at the daemon level (cached).
  • Transparently adapt the code paths that differ between Docker and Podman (compose binary selection, port-binding parsing).
  • Keep existing Docker behavior unchanged when Docker is the active runtime.
  • Document the supported setup alongside Docker.

Closes #1027.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Tranquility2 added 7 commits May 30, 2026 16:37
@Tranquility2
feat: add Podman compatibility
5709e94
- Add is_podman() method to DockerClient for runtime engine detection
- Skip UDP protocol-in-host_port tests on Podman (unsupported syntax)
- Normalize Podman HostIp/HostPort differences in port binding assertions
- Skip insecure registry tests on Podman (requires daemon reconfiguration)
- Disable compose tests pending Podman compose investigation
@Tranquility2
Refactor is_podman
49e399a
@Tranquility2
Improve tests
2a3b2d8
@Tranquility2
Update Compose
060dc9a
@Tranquility2
Simplify the changes
72d8672
@Tranquility2
Improve testing
35c0e90
@Tranquility2
Update docs
9997ff8
@Tranquility2 Tranquility2 added the ✨ feat label May 30, 2026
@codecov

codecov Bot commented May 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.29%. Comparing base (d4b8ff6) to head (19a0e58).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1028      +/-   ##
==========================================
+ Coverage   83.18%   83.29%   +0.10%     
==========================================
  Files          16       16              
  Lines        1743     1754      +11     
  Branches      192      193       +1     
==========================================
+ Hits         1450     1461      +11     
  Misses        236      236              
  Partials       57       57              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Tranquility2
Tranquility2 requested a review from alexanderankin May 30, 2026 20:35
alexanderankin
alexanderankin approved these changes Jun 2, 2026
View reviewed changes

@alexanderankin alexanderankin left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌶️🌶️🌶️ controversial!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@alexanderankin
Merge branch 'main' into support_podman
19a0e58
@alexanderankin
alexanderankin merged commit 37093ab into main Jun 3, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexanderankin
alexanderankin deleted the support_podman branch June 3, 2026 10:56
@github-actions github-actions Bot mentioned this pull request Jun 3, 2026
chore(main): release testcontainers 4.15.0-rc3 #1013
Merged
alexanderankin added a commit that referenced this pull request Jun 3, 2026
@github-actions @alexanderankin
chore(main): release testcontainers 4.15.0-rc3 (#1013)
3cbd956
🤖 I have created a release *beep* *boop*
---


##
[4.15.0-rc3](testcontainers-v4.15.0-rc2...testcontainers-v4.15.0-rc3)
(2026-06-03)


### Features

* **core:** add Podman compatibility
([#1028](#1028))
([37093ab](37093ab))
* **core:** auto-detect DOCKER_HOST from current docker context
([#1026](#1026))
([d4b8ff6](d4b8ff6)),
closes
[#1025](#1025)


### Bug Fixes

* **core:** add container logs to TimeoutError when wait strategy times
out
([#1007](#1007))
([1fadb40](1fadb40))
* **core:** close Reaper socket at interpreter exit to prevent
ResourceWarning
([#1017](#1017))
([d3a1517](d3a1517))
* **cosmosdb:** replace distutils.strtobool removed in Python 3.12
([#1018](#1018))
([3e487f4](3e487f4))
* **mongodb:** Use wait strategy instead of deprecated wait_for_logs
([#943](#943))
([c8118e7](c8118e7))
* **mssql:** use `ExecWaitStrategy` instead of deprecated
`wait_container_is_ready`
([#1016](#1016))
([4c53b89](4c53b89)),
closes
[#874](#874)
* **neo4j:** Swap out use of depricated wait utils for wait_strategies
([#1012](#1012))
([6deaf3b](6deaf3b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: David Ankin <[email protected]>
@Tranquility2 Tranquility2 mentioned this pull request Jun 6, 2026
Bug: Error while fetching server API version #757
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@alexanderankin alexanderankin alexanderankin approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

✨ feat

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

feat: add Podman compatibility (parity with testcontainers-go and testcontainers-java)

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Tranquility2 @alexanderankin
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.