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

Simplify the self cid discovery mechanism #491

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

buchdag
Copy link
Member

@buchdag buchdag commented Jan 9, 2019

This PR greatly simplify the self cid discovery code and remove the hard requirement that the container get its self cid during entrypoint, as it is only used to produce a warning and to get the nginx-proxy container id through --volumes-from, which is only one of the three methods.

The fact that the LE container could get an nginx-proxy container id is independently verified by the entrypoint script anyway and this hard requirement on getting its self cid has been known to cause
troubles with containers running under orchestrators such as Amazon ECS or Kubernetes.

Also remove the hard requirement that the container get its
self cid during entrypoint as it is only used to produce a warning
and to get the nginx-proxy container id through --volumes-from,
which is only one of the three methods.

The fact that the LE container could get an nginx-proxy container id
is independently verified by the entrypoint script anyway and this
hard requirement on getting its self cid has been known to cause
troubles with containers running under orchestrators such as Amazon ECS
or Kubernetes.
@buchdag buchdag merged commit 407c7c4 into nginx-proxy:master Jan 10, 2019
@buchdag buchdag deleted the self-cid branch January 10, 2019 11:28
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

Successfully merging this pull request may close these issues.

1 participant