-
Notifications
You must be signed in to change notification settings - Fork 346
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
Environment Variable Init: HOME #680
Comments
@mitnk Thanks for your report. We set the environment variables here. I couldn't find where the HOME environment variable gets, and I couldn't find it in the runtime-spec. I'll do some more research. Do you know anything about it? |
I found that runc has been implemented here. |
Hi, @mitnk. If you have interested in this implementation, I'll leave this implementation to you. Of course, if you don't have time to do it, feel free to ask me to implement it 🙏 |
Thanks for the info, I'll have a try :) |
Awesome! If you have any questions, please do not hesitate to contact me. |
@utam0k Question 1: I tried adding a |
Draft PR: #681 |
Another question: how to see the logs printed by code like |
The file Content of
|
Not sure why, but a re-build fixed the issue. It just works now.. |
It is hard to see the log while using docker. If you want to see the log, it would be good to use the youki directory without using docker. |
Did you resolve this question by yourself? |
Yes, resolved. |
fixed in #681 Thanks! |
@mitnk Nice work! |
Using youki as the runtime will missing the env HOME:
Expected (as using runc):
Where is environment variables initialized? I tried but not found in code of the repo.
The text was updated successfully, but these errors were encountered: