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

How about swarm? (again) #240

Open
auzty opened this issue Mar 1, 2017 · 4 comments
Open

How about swarm? (again) #240

auzty opened this issue Mar 1, 2017 · 4 comments

Comments

@auzty
Copy link

auzty commented Mar 1, 2017

I see that this version of docker-gen only watch the container over docker socket,
there is a chance to improve this docker-gen to suport swarm mode? because the github.com/fsouza/go-dockerclient already support swarm api,

or if i want to modify this docker-gen, what code that will be affected when i try to change the api value ListContainers(docker.ListContainersOptions{......}) become ListServices(docker.ListServicesOptions{}) ??

i see that the parameter required for the nginx-proxy are ENV variable and can get it from the service api instead inspect the container 😄

Thanks you

@revolunet
Copy link

still relevant ?

@dukecheng
Copy link

@auzty did you resolve your problem? if yes what's your final solution?

@pwFoo
Copy link

pwFoo commented Apr 19, 2018

I'm searching for a way to get multi host swam network ip address of a container with docker-gen. Is there a solution?

@arefaslani
Copy link

Checkout my image. It's written in javascript and will be developed easily. Pull requests are welcome 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants