-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Provide an environment variable with the name of the current container #408
Comments
|
I think I know what you are trying to do, but |
I guess I didn't understand the issue, what is "the name of the current container" ? |
In the example above it would be "web_1". Apologies if "name" is the wrong noun - it's not the hash id, so I didn't know what to call it. It's actually the hostname exposed via the docker link (I assume it is fig adding the "_1"). |
Duplicate of #1503 which has a PR open for it, so closing this one. |
Point digest import to opencontainers/go-digest
I can see traces of it everywhere, e.g. in /etc/hosts:
and
so fig has injected it in there somehow, but not in a very accessible way. It would be great to be able to discover that at runtime.
The text was updated successfully, but these errors were encountered: