-
Notifications
You must be signed in to change notification settings - Fork 950
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copy: allow to mount /dev /tmp/ /proc
The /dev/ /tmp /proc are default mount point from oci spec. They are not in the container mount points. When we pass the /dev/terminal-log as dest, it will mount after the /dev, which handed by runC in the special namespace. But when we try to mount for copy, we don't have /dev folder or sub folder, we need to create parent folder for the target or empty file. Signed-off-by: Wei Fu <fuweid89@gmail.com>
- Loading branch information
Showing
1 changed file
with
30 additions
and
22 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