Skip to content

RemoveMount does not work #80

@liangjingtao11

Description

@liangjingtao11

containerd version: v1.7.14
nri version: 0.6.1

i want to remove Specific mount using this code in nri

for _, m := range container.Mounts {
	if strings.HasSuffix(m.Source, mountSuffix) {
		adjust.RemoveMount(m.Destination)
         }
 }```

but after pod created,Nothing has changed. May I ask if I used the wrong way?

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions