Lantao Liu
7313331f2e
Merge pull request #171 from Random-Liu/not-checkpoint-sandbox-pid
...
Do not checkpoint sandbox pid.
2017-08-24 20:23:16 -07:00
Lantao Liu
60d8430ac1
Do not checkpoint sandbox pid.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-25 01:38:05 +00:00
Lantao Liu
a80df151d1
Add RunAsUsername support.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-25 00:47:35 +00:00
Lantao Liu
e1f74f00a5
Various security related fixes
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-24 21:52:30 +00:00
Lantao Liu
8d1b737480
Update containerd to a6ce1ef2a1
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-24 21:47:52 +00:00
Lantao Liu
e559804b37
Merge pull request #167 from Random-Liu/remove-unused-code
...
Remove unused code.
2017-08-24 14:43:23 -07:00
Lantao Liu
b671465d7f
Merge pull request #165 from Random-Liu/fix-node-e2e
...
Not printing any log for node e2e.
2017-08-24 14:42:58 -07:00
Michael Crosby
b3303b55c1
Add LoadProcess api to Task
...
Fixes #1374
This adds a `LoadProcess` api to load existing exec'd processes from a
task. It allows reattaching of IO and waiting on the process.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 16:30:34 -04:00
Lantao Liu
6f679fd175
Merge pull request #161 from Random-Liu/sandbox-createdat-from-containerd
...
Get CreatedAt from containerd instead of maintaining it ourselves.
2017-08-24 12:01:50 -07:00
Kenfe-Mickaël Laventure
a6ce1ef2a1
Merge pull request #1413 from crosbymichael/user-opts
...
Implement WithUsername for /etc/passwd lookup
2017-08-24 11:49:23 -07:00
Lantao Liu
a795927c5a
Get CreatedAt from containerd instead of maintaining it ourselves.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-24 18:38:00 +00:00
Michael Crosby
2052b76fa7
Change WithSpec to take SpecOpts
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 14:32:41 -04:00
Lantao Liu
73bb9696e8
Merge pull request #151 from Random-Liu/add-instrumented-service
...
Add instrumented service.
2017-08-24 11:26:39 -07:00
Lantao Liu
36da027c20
Merge pull request #138 from abhinandanpb/p_netns
...
Creating sandbox namespace
2017-08-24 11:26:21 -07:00
Lantao Liu
c6895d0856
Remove unused code.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-24 18:04:05 +00:00
Lantao Liu
c6191122f2
Merge pull request #163 from abhinandanpb/containerd-alpha6
...
Updating to container1.0-alpha
2017-08-24 10:43:43 -07:00
Abhinandan Prativadi
5a119200b8
Creating permanent sandbox namespace
...
This commit contains changes to create/delete permanent namespace
for a sandbox container.
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-08-24 10:43:42 -07:00
Lantao Liu
26e3718d6b
Not printing any log for node e2e.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-24 17:20:59 +00:00
Lantao Liu
b27ee85f74
Merge pull request #146 from zhangzhenhao/master
...
add the user id support of runAsUser
2017-08-24 10:18:26 -07:00
zhangzhenhao
331e542c09
add the user id support of runAsUser
...
Signed-off-by: zhangzhenhao <zhangzhenhao@outlook.com>
2017-08-24 23:29:45 +08:00
Michael Crosby
421c607c54
Add Events client method
...
Fixes #1381
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 11:10:01 -04:00
Michael Crosby
5c7f67186a
Add libcontainer/user package for passwd parsing
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 10:32:16 -04:00
Michael Crosby
f66f0fb7a0
Update windows SpecOpts in tests
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 10:32:16 -04:00
Michael Crosby
f436f4c828
Add WithUsername spec opt
...
This option will mount and inspect the /etc/passwd file of an image to
get the uid/gid of a user.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 10:32:16 -04:00
Michael Crosby
c601606f84
Move spec generation to Container Create
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 10:32:16 -04:00
Michael Crosby
fa14f2ef3a
Add context and client to SpecOpts
...
In order to do more advanced spec generation with images, snapshots,
etc, we need to inject the context and client into the spec generation
code.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 10:32:16 -04:00
Michael Crosby
ba69f5d488
Add WithUserIDs SpecOpt
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-24 10:32:16 -04:00
Abhinandan Prativadi
728dced6a1
Updating to container1.0-alpha
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-08-23 23:17:21 -07:00
Lantao Liu
2faa665eb2
Merge pull request #155 from miaoyq/support-nonewprivileges
...
Support NoNewPrivileges
2017-08-23 20:58:38 -07:00
Yanqiang Miao
1aec120d5f
Support NoNewPrivileges
...
fixes #117
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-08-24 08:37:40 +08:00
Lantao Liu
60c7f5127e
Merge pull request #128 from Random-Liu/add-container-attach
...
Add container attach
2017-08-23 17:20:04 -07:00
Lantao Liu
45ee2e554a
Add container attach support.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-23 23:48:31 +00:00
Lantao Liu
77b703f1e7
Move generateID to util.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-23 23:46:55 +00:00
Lantao Liu
07e3a2b5e2
Merge pull request #160 from Random-Liu/update-ocicni
...
Vendor ocicni from upstream.
2017-08-23 16:04:25 -07:00
Lantao Liu
dd6e9fb88d
Merge pull request #156 from yanxuean/metalabel
...
Checkpoint and restart recovery
2017-08-23 15:36:19 -07:00
Derek McGowan
f05281743e
Merge pull request #1420 from dmcgowan/alpha6
...
release: updated version to alpha6
2017-08-23 15:36:13 -07:00
Lantao Liu
42500353b7
Vendor ocicni from upstream.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-23 22:23:29 +00:00
Derek McGowan
b14c2cce11
release: updated version to alpha6
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-08-23 15:09:32 -07:00
Michael Crosby
709c37b1d1
Merge pull request #1419 from dmcgowan/walk-skip-not-found
...
Skip items removed during walk
2017-08-23 17:59:31 -04:00
Kenfe-Mickaël Laventure
0daa593b3a
Merge pull request #1393 from dmcgowan/multiple-differs
...
Add support for multiple differs
2017-08-23 14:45:17 -07:00
Derek McGowan
98960f0493
Skip items removed during walk
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-08-23 14:43:56 -07:00
Derek McGowan
05cdc4f435
Merge pull request #1417 from mlaventure/delete-exitedat
...
go-client: Return an ExitStatus struct when calling process.Delete()
2017-08-23 13:27:24 -07:00
Kenfe-Mickael Laventure
7f6c487031
go-client: Return an ExitStatus struct when calling process.Delete()
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-08-23 10:32:51 -07:00
Phil Estes
12b43a5c8a
Merge pull request #1416 from tophj-ibm/fix-race-testflags
...
Only use race flag on amd64
2017-08-23 12:43:05 -04:00
Christopher Jones
e6ab556f0e
Only use race flag on amd64
...
Race is only supported on amd64, so only run if GOARCH is amd64
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-08-23 12:30:44 -04:00
Kenfe-Mickaël Laventure
60fea11686
Merge pull request #1400 from dmcgowan/content-local-writer-locks
...
Ensure content writer only unlocks resource once
2017-08-23 08:07:18 -07:00
Michael Crosby
311ea33608
Merge pull request #1414 from dmcgowan/btrfs-test-fail-2
...
More snapshot and btrfs test cleanup
2017-08-23 09:44:05 -04:00
Michael Crosby
3bcb6f835b
Merge pull request #1415 from kunalkushwaha/minor-fmt-fix
...
removing unused "fmt" package from import
2017-08-23 09:25:47 -04:00
yanxuean
d2757cb8f9
Checkpoint and restart recovery
...
fix part of #120
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2017-08-23 17:01:13 +08:00
Lantao Liu
195b52500f
Add instrumented service.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-23 07:02:12 +00:00