Akihiro Suda
ee70879202
*: use narrower content interfaces
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-02-09 19:52:52 +09:00
Michael Crosby
d179c61231
Revert "Use jsoniteer for faster json encoding/decoding"
...
This reverts commit 4233b87b89
.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-29 15:47:48 -05:00
Michael Crosby
4233b87b89
Use jsoniteer for faster json encoding/decoding
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-26 16:32:55 -05:00
Kenfe-Mickael Laventure
0cc79a6ff6
Add no-pivot flag to ctr
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2018-01-09 07:48:30 -08:00
Derek McGowan
dfd7ee122f
Clean up error logs and messages in temp mount
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-01-05 15:37:11 -08:00
yanxuean
cb58bb885a
solve incorrect unmount
...
1. add WithTempMount for better unmount and remove
2. solve incorrect unmount for
diff.DiffMounts,
diff.Apply,
oci.WithUsername,
oci.WithUserID,
remapRootFS
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-01-06 00:28:16 +08:00
Michael Crosby
a8b543f87d
rmdir tmp dirs for rootfs mounts
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-04 13:51:11 -05:00
Michael Crosby
b0ca685874
Retry unmount on EBUSY and return errors
...
This is another WIP to fix #1785 .
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-04 11:31:08 -05:00
Daniel Nephin
081f8c7ce0
oci package passing tests
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-27 16:14:43 -05:00
Michael Crosby
e201be5196
Create checkpointed image in client
...
Allow a user provided name for the checkpoint as well as a default
generated name for the checkpoint image.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-10-17 15:12:04 -04:00
Derek McGowan
69e7e7fa4f
Add error wrapping for client checkpoint errors
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-10-11 10:02:29 -07:00
Phil Estes
e2f3e310c3
Make WithCheckpoint() work with manifest list images
...
Simple change to allow checkpoint image references to be manifest list
images.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-09-21 15:26:21 -04: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
Akihiro Suda
e30e0c8b75
api: RootFS -> SnapshotKey
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-06 15:22:19 -07:00
Stephen J Day
677257f032
service/snapshotter: move default to client
...
In order to enforce strict handling of snapshotter values on the
container object, the defaults have been moved to the client side. This
ensures that we correctly qualify the snapshotter under use when from
the container at the time it was created, rather than possibly losing
the metadata on a change of default.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-08-18 14:43:12 -07:00
Stephen J Day
8be340e37b
content: remove Provider.Reader
...
After some analysis, it was found that Content.Reader was generally
redudant to an io.ReaderAt. This change removes `Content.Reader` in
favor of a `Content.ReaderAt`. In general, `ReaderAt` can perform better
over interfaces with indeterminant latency because it avoids remote
state for reads. Where a reader is required, a helper is provided to
convert it into an `io.SectionReader`.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-08-09 14:32:28 -07:00
Kenfe-Mickael Laventure
56b18c1d1f
Move client's options to separate files
...
This should help in discovering the available options for a given object.
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-08-04 13:56:16 -07:00