Lantao Liu
d0779a6145
Simplify mount.Lookup.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-01 03:25:05 +00:00
Edgar Lee
e53cdc9a49
Refactor client push into helper function
...
Signed-off-by: Edgar Lee <edgar.lee@docker.com>
2018-01-31 17:13:54 -08:00
Edgar Lee
d2f073c6f5
Add converter options to convert schema1 manifest to docker schema2 manifest
...
Signed-off-by: Edgar Lee <edgar.lee@docker.com>
2018-01-31 17:13:12 -08:00
Abhinandan Prativadi
8094fe69d4
Merge pull request #531 from abhi/registry-mirror
...
Adding Registry Mirror support
2018-01-31 13:01:25 -08:00
abhi
f3ccd85891
Adding Registry Mirror support
...
This commit aims to add registy mirror support similar to
docker. The UI is similar to docker where user can
provide mirror urls and the image resolves against the provided
mirrors before fetching from default docker regitry mirror url.
Signed-off-by: abhi <abhi@docker.com>
2018-01-31 10:47:34 -08:00
Michael Crosby
55aa0b415b
Don't enable debug endpoints in default config
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-31 11:08:51 -05:00
Michael Crosby
98b53e0dd3
Allow tcp debug address
...
This uses a simple `IsAbs` check to see if we are using an on disk path
for a unix socket vs an address since we do not prefix addresses with
`unix://` or `tcp://`.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-31 10:19:33 -05:00
Michael Crosby
7615153271
Update prometheus client and go-metrics
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-31 10:12:41 -05:00
Phil Estes
fc1913a5a6
Add capability to build manpages from markdown
...
Adds capability to build the manpages via the go-md2man utility to the
make framework for containerd
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-01-30 19:50:45 -05:00
Derek McGowan
14d402e289
Add overlay cleanup
...
Updates overlay remove to simply remove the reference, adds
a cleanup method for discarding the directory.
Updates snapshot create to setup the directory structure while
in the transaction, to prevent cleanup from removing directories
which are part of a create.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-01-30 16:17:41 -08:00
Christopher Jones
f65cdc18a7
Use protobuf and runc setup scripts in .travis.yml
...
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2018-01-30 14:44:38 -05:00
Christopher Jones
a8c5ff57e5
Cleanup loop devices after test failure
...
Cleans up loop devices if part of the test or mount process fails.
Also increases btrfs default file size to 650MB to accommodate
minimum btrfs size on ppc64le and s390x
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2018-01-30 14:44:36 -05:00
Christopher Jones
051ac5dd63
running tests in a container
...
This provides a dockerfile for building a container to run the containerd tests
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2018-01-30 14:44:30 -05:00
Mike Brown
175278a3e3
Merge pull request #579 from Random-Liu/kube-up-runtime-cgroups
...
Configure container runtime cgroups for cgroup.
2018-01-30 10:11:17 -06:00
Lantao Liu
6261a4a4ca
Merge pull request #484 from yanxuean/event-filter
...
add filter for containerd event
2018-01-30 00:27:43 -08:00
yason
6931a69881
add filter for containerd event
...
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-01-30 14:13:22 +08:00
Lantao Liu
15bba777aa
Configure container runtime cgroups for cgroup.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-30 02:56:03 +00:00
Kenfe-Mickaël Laventure
eed3b1c804
Merge pull request #2076 from stevvooe/content-testsuite-unique-seed
...
content/testsuite: ensure unique content per test
2018-01-29 17:16:41 -08:00
Stephen J Day
3295bca5bf
content/testsuite: pass context to hold lease
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2018-01-29 16:29:51 -08:00
Stephen J Day
c517a005b5
content/testsuite: ensure unique content per test
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2018-01-29 15:29:38 -08:00
Michael Crosby
5f89502a24
Merge pull request #1790 from jessvalarezo/ctr-c-create
...
ctr: add container create cmd and config flag
2018-01-29 17:19:14 -05:00
Lantao Liu
765c2c9341
Merge pull request #578 from Random-Liu/update-containerd
...
Update containerd to ec15fe95aa
.
2018-01-29 13:39:22 -08:00
Phil Estes
0c07626faf
Merge pull request #2073 from crosbymichael/revert-json
...
revert json iter changes
2018-01-29 16:30:30 -05:00
Michael Crosby
2f06259a84
Revert "Add github.com/json-iterator/go to vendor"
...
This reverts commit 43a9473a53
.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-29 15:47:58 -05: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
Lantao Liu
23e872a44d
Update containerd to ec15fe95aa
.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-29 18:44:16 +00:00
Phil Estes
c6a7d10568
Merge pull request #2065 from dmcgowan/content-discard-over-truncate
...
content: update copy to discard instead of truncate
2018-01-29 11:20:17 -05:00
Lantao Liu
8d2d125d82
Merge pull request #577 from Random-Liu/fix-privileged-check
...
Fix a privileged check.
2018-01-27 20:24:09 -08:00
Lantao Liu
4dfd8250fd
Fix a privileged check.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-27 02:25:52 +00:00
Derek McGowan
b763777288
diff: rename differ to comparer
...
Remove combined interface and split implementations.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-01-26 16:32:09 -08:00
Phil Estes
ec15fe95aa
Merge pull request #2068 from crosbymichael/json
...
Use jsoniter for faster json encoding/decoding
2018-01-26 17:47:48 -05:00
Lantao Liu
9f6315bc88
Merge pull request #576 from Random-Liu/add-benchmark-image-config
...
Add image config for benchmark.
2018-01-26 14:33:10 -08:00
Michael Crosby
c024da2dec
Fix vendor exclude
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-26 16:58:05 -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
Michael Crosby
43a9473a53
Add github.com/json-iterator/go to vendor
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-26 16:32:55 -05:00
Stephen Day
c71595f6e2
Merge pull request #2067 from crosbymichael/all-caps
...
Add WithAllCapabilities as SpecOpt
2018-01-26 13:21:33 -08:00
Lantao Liu
5ed3262450
Add image config for benchmark.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-26 20:04:49 +00:00
Derek McGowan
a12f493bd3
Update copy to discard over truncate
...
Prevents the copy method from calling discard on the
writer when the reader is not seekable. Instead,
the copy method will discard up to the offset.
Truncate is a more expensive operation since any
bytes that are truncated already have their hash calculated
and are stored on disk in the backend. Re-writing bytes
which were truncated requires transfering the data over
GRPC again and re-computing the hash up to the point of
truncation.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-01-26 11:44:50 -08:00
Derek McGowan
02d737f967
Add resume content test cases
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-01-26 11:44:50 -08:00
Michael Crosby
4e27c4d53d
Add WithAllCapabilities as spec opt
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-26 14:31:32 -05:00
Michael Crosby
8f75d658d7
Add syndtr/gocapability to vendor
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-01-26 14:31:19 -05:00
Michael Crosby
fc63a6cc3a
Merge pull request #2066 from estesp/error-no-image
...
Add error return for missing params in ctr images
2018-01-26 11:47:05 -05:00
Phil Estes
d4fb0709c9
Add error return for missing params in ctr images
...
For missing required parameters adds error return before attempting any
actions to `ctr images` commands.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-01-26 09:14:13 -05:00
Lantao Liu
08644a7fff
Merge pull request #575 from miaoyq/use-channel-propagate-stop-info-of-sandbox
...
Use channel to propagate the stop info of sandbox
2018-01-26 01:58:32 -08:00
Yanqiang Miao
61c1fdb098
Use channel to propagate the stop info of sandbox
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2018-01-26 16:58:13 +08:00
Jess Valarezo
2c9ce2e693
ctr: add container create, config flag for spec
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2018-01-25 17:16:13 -08:00
Lantao Liu
f401662123
Merge pull request #571 from Random-Liu/do-not-list-task
...
Avoid containerd access as much as possible.
2018-01-25 16:13:43 -08:00
Lantao Liu
df58d6825d
Avoid containerd access as much as possible.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-25 23:36:00 +00:00
Lantao Liu
eb6e23ab49
Merge pull request #572 from Random-Liu/add-runtime-cgroup
...
Add runtime cgroup and fix a cli panic.
2018-01-25 15:14:47 -08:00
Lantao Liu
e7f2a74a84
Add runtime cgroup and fix a cli panic.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-25 22:32:57 +00:00