-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nydus-image: enhance unpack command to support extracting files to dir
When --output is specified as a directory, the nydus-image unpack command will return an error, which is not convenient for users. This patch enhances this command in the following 3 aspects: 1. Allow --output to be passed as a directory. In this case, the tar file will be output to this subdirectory. 2. Added --untar flag to support decompressing this tar file into the directory specified by --output. 3. When --output is not specified, the default output is to /dev/stdout Signed-off-by: Qinqi Qu <[email protected]>
- Loading branch information
1 parent
c9fbce8
commit 3d62276
Showing
2 changed files
with
91 additions
and
10 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