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

Re-open /dev/null inside the container #629

Closed
adrianreber opened this issue Jan 21, 2022 · 0 comments · Fixed by #630
Closed

Re-open /dev/null inside the container #629

adrianreber opened this issue Jan 21, 2022 · 0 comments · Fixed by #630

Comments

@adrianreber
Copy link
Contributor

To use checkpoint/restore without --console-socket for testing it is necessary in runc/crun to start the container with &> /dev/null < /dev/null. This however results in using /dev/null from the host and not from the container. In this case stdin, stdout and stderr needs to be connected to /dev/null in the container. I did this for crun: containers/crun@bbb1fa9

Please also add this to youki.

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 a pull request may close this issue.

1 participant