Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Question] Is there a way to get docker-gen functionallity with podman? #316

Closed
aanno2 opened this issue Dec 2, 2019 · 5 comments
Closed

Comments

@aanno2
Copy link

aanno2 commented Dec 2, 2019

Hello,

I have used jwilder/nginx-proxy and JrCs/docker-letsencrypt-nginx-proxy-companion a lot that both rely on docker-gen.

However, with Fedora 31 (and RHEL 8) my distribution has switched to podman (and docker is only useable if you switch back to vgroups v1). With podman, there is no unix socket /var/run/docker.sock. However, there seems an replacement for docker events: podman events (see Podman Usage Transfer).

So I wonder if there is a way to archive the functionallity of docker-gen on podman?

Kind regards,

aanno2

@vanaf
Copy link

vanaf commented May 9, 2020

There is some API https://podman.io/blogs/2020/01/17/podman-new-api.html so maybe docker-gen can be adopted to use it.

@shyim
Copy link

shyim commented Oct 23, 2020

Tested on podman master branch. It works using podman system service. Should be fixed in next release so of podman

@karankevich-aleksey
Copy link

karankevich-aleksey commented Jan 28, 2021

docker-gen generate incorect nginx configuration in section upstream. This section is empty after execute of docker-gen in podman environment.
I will try to suppose it behavior linked with different result between docker network inspect and podman network inspect. Do somebody know how to get over this issue?

@jennso
Copy link

jennso commented Feb 20, 2021

Tested on podman master branch. It works using podman system service. Should be fixed in next release so of podman

Hi I'm trying to implement this on my fedora 33, running podman 2.2.1, could you share me you rconfiguration, I'm not able to get it to work.

@athisun
Copy link

athisun commented Jun 20, 2021

A similar discussion is happening over on the Traefik repo: traefik/traefik#5730

@jennso SELinux may be preventing your container from connecting to the Podman socket if you're using a rootless container. See here: https://bugzilla.redhat.com/show_bug.cgi?id=1495053#c2

@nginx-proxy nginx-proxy locked and limited conversation to collaborators Aug 3, 2021
@buchdag buchdag closed this as completed Aug 3, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants