Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rootless netns, one netns per libpod tmp dir
The netns cleanup code is checking if there are running containers, this can fail if you run several libpod instances with diffrent root/runroot. To fix it we use one netns for each libpod instances. To prevent name conflicts we use a hash from the static dir as part of the name. Previously this worked because we would use the CNI files to check if the netns was still in use. but this is no longer possible with netavark. [NO NEW TESTS NEEDED] Fixes containers#12306 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
- Loading branch information