Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for TMP override on toml
When running containerd as a service it may be hard to override the TMP location of the process. This is especially true on Windows when running containerd in SCM. This change allows you to set the 'temp' location in the config.toml when the service starts up that overrides its TEMP/TMP/TMPDIR usage. This is helpful on Linux as well but it primarily solves the performance issue on Windows when running containerd across volumes. IE: If you configure your data/root paths on a volume other than the SystemDrive the snapshotter does a temporary unpack on the SystemDrive and then has to copy contents of that data to the snapshot folder on the destination volume. By alinging the tmp with the destination it is a simple move operation instead of a copy operation. Signed-off-by: Justin Terry <jlterry@amazon.com>
- Loading branch information