Daniel Nephin
f6e877e8be
Proposed fix for image content store
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-27 16:16:17 -05:00
Lantao Liu
33c95bb418
Fix build.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-27 18:27:20 +00:00
yanxuean
545f247c8e
prevent snapshot from gc when unpack image
...
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2017-11-23 17:29:29 +08:00
Derek McGowan
dce27d8c62
Remove client use of gc root label
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-07 12:54:22 -08:00
Jess Valarezo
1552ee23da
client: Add helper function which checks if an image is unpacked
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-10-30 16:33:54 -07:00
Derek McGowan
7884707c2f
Add reference labels to snapshots and content
...
Ensure all snapshots and content are referenced on commit and
protected from cleanup.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-10-11 10:42:47 -07:00
Allen Sun
382dafefc0
fix a potential panic when map is nil
...
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
2017-09-27 13:59:37 +08:00
Derek McGowan
eef47ffad3
Add platform filtering on children handler
...
Fixes pulling of multi-arch images by limiting the expansion
of the index by filtering to the current default platform.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-09-20 15:18:18 -07:00
Stephen J Day
9163377123
platforms: provide simpler function for common use
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-20 11:56:59 -07:00
Derek McGowan
46ded63f2d
Support for multi-arch image unpacking
...
Resolves the platform on multi-arch manifests during unpack and config resolving.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-09-14 09:32:37 -07:00
Lantao Liu
76e016ca30
Add image config function.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-30 23:02:43 +00:00
Abhinandan Prativadi
7a5d592372
Exposing helpers to access internal structure
...
Adding image.Config,image.Size,image.RootFS to retrieve the internal image information
which will be needed by consumers of containerd
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-08-11 17:09:29 -07:00
Michael Crosby
0a85f6e47d
Update godoc for client package
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-04 11:53:31 -04:00
Derek McGowan
a78d0bdeac
Update the content interface to return info from update
...
Namespace keys used by client for uncompressed
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-07-12 16:22:13 -07:00
Derek McGowan
fba7463ed3
Add labels and fileters to content
...
Update list content command to support filters
Add label subcommand to content in dist tool to update labels
Add uncompressed label on unpack
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-07-12 13:59:17 -07:00
Akihiro Suda
b06aab713a
support using multiple snapshotters simultaneously
...
e.g. dist pull --snapshotter btrfs ...; ctr run --snapshotter btrfs ...
(empty string defaults for overlayfs)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-07-12 11:16:12 -07:00
Akihiro Suda
696e383d21
image.go: fix duplicated import
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-29 06:15:36 +00:00
Derek McGowan
ca25c0408e
Update dist pull to use client
...
Replaced pull unpacker with boolean to call unpack.
Added unpack and target to image type.
Updated progress logic for pull.
Added list images to client.
Updated rootfs unpacker to use client.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-06 15:03:52 -07:00
Michael Crosby
d0b22290ec
Don't require rootfs if not set on container
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:17:36 -07:00
Michael Crosby
608e6daaa4
Make Task, Container, Image interface types
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:05:58 -07:00
Michael Crosby
bf9ad0c57f
Fix spec generation for task execution
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 15:40:40 -07:00
Michael Crosby
923236004a
Add pull support to client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 14:08:58 -07:00