docker-gen
docker-gen copied to clipboard
How about swarm? (again)
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 :smile:
Thanks you
still relevant ?
@auzty did you resolve your problem? if yes what's your final solution?
I'm searching for a way to get multi host swam network ip address of a container with docker-gen. Is there a solution?
Checkout my image. It's written in javascript and will be developed easily. Pull requests are welcome 🙂