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

Perform I/O in mnt namespace directly instead of calling into docker #5

Merged
merged 4 commits into from
Apr 22, 2024

Conversation

nbdd0121
Copy link
Contributor

The current approach requires the binaries to be available inside the container. Change to perform I/O in the container's mount namespace directly. This is more robust and less expensive.

Similarly docker API is avoided for killing the container process (since we can easily get its PID and kill it directly)

@nbdd0121 nbdd0121 force-pushed the nsenter branch 5 times, most recently from 568fd2e to b7a0f0d Compare April 21, 2024 19:20
The current approach requires the binaries to be available inside the
container. Change to perform I/O in the container's mount namespace
directly. This is more robust and less expensive.
We no longer use it with exec.
@jwnrt jwnrt merged commit ae36cb8 into main Apr 22, 2024
1 check passed
@nbdd0121 nbdd0121 deleted the nsenter branch April 25, 2024 17:03
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