Feature: Podman Kube Play support

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

Nobody has claimed this yet.

Assessment

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

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.

Description

🚀 enhancement

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

Dominant language
Python
Stars
2.3k
Forks
397
Avg merge
8d 16h
Merged PRs (30d)
5

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from testcontainers/testcontainers-python

All issues in testcontainers/testcontainers-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.