Support simultaneous image unpack.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2019-01-08 17:38:54 -08:00
parent ea13c9fe99
commit 60f73b6cf1
3 changed files with 270 additions and 3 deletions

View File

@@ -294,6 +294,7 @@ type RemoteContext struct {
PlatformMatcher platforms.MatchComparer
// Unpack is done after an image is pulled to extract into a snapshotter.
// It is done simultaneously for schema 2 images when they are pulled.
// If an image is not unpacked on pull, it can be unpacked any time
// afterwards. Unpacking is required to run an image.
Unpack bool