testcontainers / testcontainers/testcontainers-python

Feature: Podman Kube Play support

Open
#868 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🚀 enhancement
Dominant language
Python
Stars
2.3k
Forks
386
Avg merge
4h 40m
Merged PRs (30d)
1

Description

What are you trying to do?

Today we can use the DockerCompose class to start a compose file

https://github.com/testcontainers/testcontainers-python/blob/60d21f875f49f52e170b0714e8790080a6cb4c71/core/testcontainers/compose/compose.py#L156-L157

Podman has a unique feature called Podman Kube Play allowing you to start services, formatted in a Kubernetes-like format and run without a Kubernetes cluster, with only containers. This is very useful for workflow where a full Kubernetes cluster is not needed.

In a similar way of starting compose project, it would be nice to be able to start Podman.

Why should it be done this way?

With our Ubuntu GitHub runners, Podman is installed by default, with the Kube Play feature already available, it would ease the setup to directly have support for this feature with testcontainers.


I would be motivated to do the contribution if this is something that can be accepted

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with core/testcontainers/compose/compose.py, especially the DockerCompose startup entry point referenced in the issue, and review the linked Podman Kube Play documentation. Determine the API and test coverage needed to start services from a Kubernetes-formatted file without a cluster; completion should demonstrate that workflow through tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.