-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
traefik:latest fails to auto-detect Docker containers #901
Comments
Need to do more investigation to pinpoint what the exact issue is -- will improve description as I discover more info. I'm guessing it has something to do with the new Docker Swarm Mode feature. |
@dikarel Any DEBUG logs? |
/cc @vdemeester |
Same problem with legacy swarm (not swarm mode).
|
Debug logs Note:
GET /api/providers Note: None of the Docker containers showed up {
"docker": {},
"file": {
"backends": {
"company2": {
"servers": {
"server1": {
"url": "http://192.168.0.78:3000",
"weight": 1
}
},
"loadBalancer": {
"method": "wrr"
}
},
"gi-api": {
"servers": {
"server1": {
"url": "http://192.168.0.78:3001",
"weight": 1
}
},
"loadBalancer": {
"method": "wrr"
}
}
},
"frontends": {
"company2": {
"entryPoints": [
"http",
"https"
],
"backend": "company2",
"routes": {
"test1": {
"rule": "Host:www.company2.com,company2.com,beta.company2.com"
}
},
"priority": 10
},
"gi-api": {
"entryPoints": [
"http",
"https"
],
"backend": "gi-api",
"routes": {
"test1": {
"rule": "Host:api.company2.com"
}
},
"priority": 9
}
}
}
} |
I've spent some time digging through the source and I think I may have found the problem What probably happened
I don't have server access atm to test this hypothesis. Will confirm and send another update. |
This turned out to be the case. I had Reading through the docs, it's not clear how |
Looks that still does not work |
@andypost could you give your configuration and your containers labels? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The log says
|
Details
traefik:latest
) fails to auto-detect Docker containerstraefik:reblochon
) fixed itSpecs
The text was updated successfully, but these errors were encountered: