Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support changing io.podman label domain namespace #1013

Open
legobeat opened this issue Jul 30, 2024 · 0 comments · May be fixed by #1015
Open

Support changing io.podman label domain namespace #1013

legobeat opened this issue Jul 30, 2024 · 0 comments · May be fixed by #1015
Labels
enhancement New feature or request

Comments

@legobeat
Copy link
Contributor

legobeat commented Jul 30, 2024

Is your feature request related to a problem? Please describe.

It is possible that we have two different processes where one needs to use docker-compose and the other podman-compose but interacting with the same container socket, containers, and compose project. For example, maybe certain configuration is only available in one or the other and no single implementation covers the entire use-case.

Unfortunately, containers started by one is not visible from the other.

This is due to project-matching being done by matching the label io.podman.compose.project. Containers started by docker-compose instead carry the io.podman.compose.project. It seems to be no way to make them work together due to this.

Describe the solution you'd like

Introduce a new environment variable like COMPOSE_LABEL_NAMESPACE defaulting to io.podman. Users can then interact with projects managed by docker-compose via COMPOSE_LABEL_NAMESPACE=com.docker, or set their own namespace.

Describe alternatives you've considered
Transparently filter for both currently known namespaces. This seems to not be worth it.

Additional context

@legobeat legobeat added the enhancement New feature or request label Jul 30, 2024
@legobeat legobeat changed the title Support changing io.podman label namespace Support changing io.podman label domain namespace Jul 30, 2024
@legobeat legobeat linked a pull request Jul 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant