You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My machine is currently not fetching .Docker.CurrentContainerID, it ends up being blank. I have a separate mountpoint for /var/lib/docker/containers, so any sub-relative paths don't have the /containers/ prefix in the container view.
I also stumbled upon this issue inadvertently ran into when I setup zfs for my /var/lib/docker directory as well as a dataset for every sub directory of /var/lib/docker
To help those who are also having the same issue I was. Since I setup a zfs dataset for every sub directory of my /var/lib/docker my jwilder/nginx-proxy container was no longer able to generate the /etc/nginx/conf.d/default.conf file correctly since docker-gen could not correctly refer to containers. Which then broke my reverse proxy for my services/sites. I would simply get a 502 error with the nginx log entry of
no live upstreams while connecting to upstream, client: [CLIENT-IP], server: [MY-DOMAIN], request: "GET / HTTP/1.1", upstream: "http://[MY-DOMAIN]/", host: "[MY-DOMAIN]", referrer: "http://[MY-DOMAIN]/"
Hopefully the smattering of keywords I've put here will help someone googling a solution to the problem this behavior causes for the reverse-proxy image.
docker-gen/internal/context/context.go
Line 231 in cfd2934
My machine is currently not fetching .Docker.CurrentContainerID, it ends up being blank. I have a separate mountpoint for /var/lib/docker/containers, so any sub-relative paths don't have the /containers/ prefix in the container view.
The text was updated successfully, but these errors were encountered: