-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmm: Unshare IPC and UTS namespaces for container process
Container process needs a POD level IPC and UTS namespace unshared with kuasar-task by default as pause container has been removed. In this commit, kuasar-task will unshare a new ns and bind mount it to `/run/sandbox-ns`, in which the container could join. The hostname in the sandbox pod config will be set into uts ns by runC when creating container. Signed-off-by: Zhang Tianyang <[email protected]>
- Loading branch information
1 parent
6a599c0
commit e385ece
Showing
3 changed files
with
91 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters