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

[RFC] inspect: show mounts info from CRI/ctr containers #2939

Merged
merged 2 commits into from
May 14, 2024

Commits on Apr 26, 2024

  1. fix: set mountpoint RW and Propagation in internal mount label

    Signed-off-by: baijia <baijia.wr@antgroup.com>
    baijia committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    54b2956 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. inspect: show mounts info from CRI/ctr containers

    Fix containerd#2934
    
    Containers created by CRI or ctr with bind mounts
    don't have label "nerdct/mounts".
    
    However, 'inspect' with dockercompat mode only parses mounts
    from label "nerdct/mounts".
    
    After this patch, 'inspect' with dockercompat mode can
    show CRI and ctr container bind mounts.
    
    ResolvConfPath, HostnamePath and Hostname are taken to the same
    consideration.
    
    Signed-off-by: baijia <baijia.wr@antgroup.com>
    baijia committed May 6, 2024
    Configuration menu
    Copy the full SHA
    4b9de97 View commit details
    Browse the repository at this point in the history