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

implemented LISTEN_FDS #180

Merged
merged 3 commits into from
Aug 3, 2021
Merged

implemented LISTEN_FDS #180

merged 3 commits into from
Aug 3, 2021

Conversation

yihuaf
Copy link
Collaborator

@yihuaf yihuaf commented Aug 2, 2021

Preserve LISTEN_FDS file descriptors in the container init process, and pass the correct environment variables. These are used for systemd. Ref: https://github.com/opencontainers/runc/blob/master/docs/terminals.md#other-file-descriptors

Note, I am not sure how to test this. I implement this based on the spec and runc code. But I couldn't find a way to use it in the wild. We can also choose not to merge this until someone in the future comes up with an use-case?

Preserve LISTEN_FDS file descriptors in the container init process, and
pass the correct environment variables.
@utam0k utam0k merged commit abf1222 into youki-dev:main Aug 3, 2021
@yihuaf yihuaf deleted the yihuaf/LISTEN_FDs branch August 3, 2021 17:00
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.

2 participants