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

[WIP]nydus-image: enhance unpack command to support extracting files to dir #1480

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 20, 2023

  1. 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 <quqinqi@linux.alibaba.com>
    adamqqqplay committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    3d62276 View commit details
    Browse the repository at this point in the history