Hacker News new | ask | show | jobs
by davman 3192 days ago
I think I'm being particularly dense here, but do you mean the proxy is proxying to your tiny 1kb container? If so, what happens to the traffic? Or because the tiny container is running the proxy proxies somewhere else? i.e you're using the presence of a container with a label as configuration for the proxy?
1 comments

I know, it's a bit difficult to explain and a tad confusing. No, the proxy is not sending any traffic to the container. Rather, the container, by simple virtue of being in the running state, tells the proxy to send requests to the domain specified by the label on the container.
What happens if the container isn't running?
Then the proxy will not route requests to the host specified by the container's label.
You're using the running state flag of a container as an IPC mechanism?
Essentially, yes. And the labels.