Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rthooks: Fix rootDir in createRuntime hook
When using the createContainer hook in containerd or cri-o the rootDir points to the root directory of the container that is created. In the case where we use the createRuntime hook in containerd the roodDir points to the location of the config.json file which is not the same as the container root directory. In order to fix that, we need to append the Root.Path from the spec. Signed-off-by: Anastasios Papagiannis <[email protected]>
- Loading branch information