Commit Graph

13325 Commits

Author SHA1 Message Date
Lantao Liu
1fd8c2ffc3 Merge pull request #270 from Random-Liu/fix-checkpoint-recovery
Fix checkpoint recovery.
2017-09-22 00:48:00 -07:00
Allen Sun
d5b027c94b make command help display consistent
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
2017-09-22 15:44:26 +08:00
Lantao Liu
54521126aa Fix container CreatedAt and UpdatedAt.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-22 05:57:02 +00:00
Lantao Liu
10df5f71a7 Merge pull request #212 from miaoyq/related-selinux
Add build tags and Improve the test case of selinux
2017-09-21 21:07:53 -07:00
Yanqiang Miao
7096027d21 Add build tags and Improve the test case of selinux
- Add build tags
- Fixes a bug because of my negligence
- Improve the test case of selinux

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>

test
2017-09-22 11:39:32 +08:00
Stephen Day
709d34f882 Merge pull request #1537 from allencloud/add-reponse-body-close
add a response body close
2017-09-21 18:32:56 -07:00
Allen Sun
c6d55954e0 add a response body close
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
2017-09-22 09:25:31 +08:00
Stephen Day
fe9d6a46d1 Merge pull request #1525 from crosbymichael/shim-hang
Add wait API endpoint for waiting on process exit
2017-09-21 18:21:29 -07:00
Lantao Liu
b50f06bb5b Merge pull request #234 from abhinandanpb/installer
kubernetes + cri-containerd + containerd installer
2017-09-21 18:12:19 -07:00
Lantao Liu
411c03b5c6 Merge pull request #219 from mikebrow/seccomp
Adds seccomp support
2017-09-21 16:06:25 -07:00
Mike Brown
78a925f57b vendor for new seccomp helpers
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-21 17:37:50 -05:00
Mike Brown
c0a2d152d9 adds seccomp support
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-21 17:22:11 -05:00
Jess Valarezo
18c4322bb3 Labels are consistently validated across services
* The combined size of a key/value pair cannot exceed 4096 bytes

Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-09-21 15:11:46 -07:00
Lantao Liu
2ac9262091 Merge pull request #271 from Random-Liu/register-name-after-recover
Should register container/sandbox name after restart.
2017-09-21 15:10:39 -07:00
Stephen J Day
04ed74f4b1
README, design: update architecture diagram
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-21 15:07:28 -07:00
Lantao Liu
ce9d27bd94 Fix checkpoint recovery.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 21:10:38 +00:00
Lantao Liu
e132f9c1ea Should register container/sandbox name after restart.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 21:06:24 +00:00
Michael Crosby
3273315267 Merge pull request #1541 from stevvooe/update-releases
RELEASES: update component table
2017-09-21 16:27:54 -04:00
Stephen J Day
c381a9e46d
RELEASES: update component table
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-21 13:18:55 -07:00
Derek McGowan
90d74528ed Merge pull request #1540 from estesp/revert-temp-image-ref
Revert temp image reference change/fix WithCheckpoint()
2017-09-21 13:06:59 -07:00
Phil Estes
2146feec26 Merge pull request #1534 from crosbymichael/metricsv1
Add v1 to metrics API endpoint
2017-09-21 15:48:14 -04: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
Phil Estes
cadee0374b
Revert "Merge pull request #1502 from crosbymichael/test-image"
This reverts commit 558b46f26e, reversing
changes made to 0e616f4d7a.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-09-21 15:25:34 -04:00
Michael Crosby
d67763d922 Add wait API endpoint for waiting on process exit
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-21 15:03:58 -04:00
Lantao Liu
9015b6ec68 Merge pull request #209 from Random-Liu/checkpoint-recovery
Checkpoint recovery
2017-09-21 11:32:49 -07:00
Lantao Liu
cc1b0b6709 Add restart recovery logic.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 17:59:46 +00:00
Phil Estes
2f5dda6229 Merge pull request #1536 from stevvooe/foreign-layers
images, remotes: add support for foreign layers
2017-09-21 10:05:08 -04:00
Michael Crosby
26329b2b8d Merge pull request #1535 from dmcgowan/fix-pull-multi-arch
Add platform filtering on children handler
2017-09-21 09:45:26 -04:00
Abhinandan Prativadi
bafc7be9be kubernetes + containerd installer
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-20 22:32:09 -07:00
Lantao Liu
90d6e44c22 Merge pull request #267 from Random-Liu/fix-apparmor
Fix apparmor empty case.
2017-09-20 21:53:28 -07:00
Lantao Liu
dd3421c3c7 Fix apparmor empty case.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 04:07:39 +00:00
Stephen J Day
13771fba83
images, remotes: add support for foreign layers
Add support for downloading layers with external URLs and
foreign/non-distributable mediatypes. This ensures that encountered
windows images are downloaded correctly. We still need to filter out the
extra windows resources when pulling linux, but this is a step towards
correctly supporting multi-platform images.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-09-20 17:06:13 -07:00
Lantao Liu
55a088763e Merge pull request #266 from Random-Liu/update-ocicni
Update ocicni to fc9c77cc55795c09bf1f74b2afd92078a793a69e
2017-09-20 16:42:24 -07: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
Lantao Liu
2907566565 Update ocicni to fc9c77cc55795c09bf1f74b2afd92078a793a69e
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-20 21:58:18 +00:00
Michael Crosby
f23edd3cc0 Add v1 to metrics API endpoint
Fixes #1399

This versions the prometheus metrics API so we can manage backwards
incompatible changes in the future more easily.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-20 16:24:30 -04:00
Phil Estes
9934acb271 Merge pull request #1532 from mikebrow/seccomp-default-proc-fix
fixes missing default permission
2017-09-20 15:32:36 -04:00
Phil Estes
ef5f2025aa Merge pull request #1533 from stevvooe/specifier-default
platforms: provide simpler function for common use
2017-09-20 15:15:12 -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
Kenfe-Mickaël Laventure
78c4e5501c Merge pull request #1529 from crosbymichael/console
Close epoller on task delete
2017-09-20 11:24:52 -07:00
Mike Brown
120bb4cd47 fixes missing default permission
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-20 13:15:39 -05:00
Lantao Liu
5dbba596e6 Merge pull request #260 from yanxuean/use-containerd-extension
Switch to containerd extension
2017-09-20 10:36:57 -07:00
Abhinandan Prativadi
f3426cd6b9 Merge pull request #256 from abhinandanpb/crictl
Adding crictl to install deps
2017-09-20 09:25:33 -07:00
yanxuean
e1a7a0ea76 Switch to containerd extension
fix #251

Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2017-09-21 00:15:10 +08:00
Michael Crosby
7030a4add0 Close epoller on task stop
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-20 11:29:13 -04:00
Michael Crosby
781ce658c8 Update console dep to b28c739c79ce69d017e3691ad366
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-09-20 11:16:56 -04:00
Abhinandan Prativadi
e4077e915b Add crictl cli to install deps
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-20 07:38:29 -07:00
Lantao Liu
a2dbc6ec1c Merge pull request #261 from ijc/volume-copyup
Implement volume copy up.
2017-09-20 02:30:36 -07:00
Lantao Liu
9c533dca14 Merge pull request #262 from ijc/sandbox-getip-improvements
Do not attempt to retrieve IP from host network namespace
2017-09-20 02:22:07 -07:00
Ian Campbell
9c3c38d9ab Do not attempt to retrieve IP from host network namespace
Since sandboxes which use the host network have no network namespace path this
would result in an invalid invocation of nsenter.

Rework the fetching of the sandbox to take this into account and also avoid
trying to get an IP when the network plugin is not yet ready.

Fixes #245.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-09-20 09:53:56 +01:00