google / gvisor-containerd-shim

containerd shim for gVisor
https://gvisor.dev
Apache License 2.0
79 stars 30 forks source link

Fix externally-configured non-standard root paths #60

Closed lorenz closed 4 years ago

lorenz commented 4 years ago

If the v2 gVisor shim is used with a containerd-specified custom config file path which contains a different root certain methods like Cleanup() and Stats() don't use the configured root. This PR retains the configuration and uses it for these calls.