Phil Estes
7071276f64
Merge pull request #943 from mlaventure/honor-runtime-conf
...
Use conf value when killing loaded container
2017-06-01 17:12:17 -04:00
Michael Crosby
00734ab04a
Return fifo paths from Shim
...
This allows attach of existing fifos to be done without any information
stored on the client side.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-01 14:12:02 -07:00
Michael Crosby
43fb19e01c
Add Load for container and Task with Attach
...
This adds both container and task loading of running tasks as well as
reattaching to the IO of the task after load.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-01 14:12:02 -07:00
Michael Crosby
1db752bca8
Add CloseStdin to exec Process
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-01 14:10:04 -07:00
Michael Crosby
9890bed1e1
Add CloseStdin to task
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-01 14:10:04 -07:00
Stephen Day
6aeeefe2b2
Merge pull request #937 from dmcgowan/client-push
...
Add push to client
2017-06-01 14:03:55 -07:00
Phil Estes
85d568e19f
Merge pull request #885 from dmcgowan/remote-create-writer-pre-fetch
...
Avoid fetch call to registry when blob already exists
2017-06-01 13:44:08 -04:00
Michael Crosby
6ff220a116
Merge pull request #939 from ijc25/reconnect-shim-event-stream
...
Reconnect to shim event stream after containerd restart
2017-06-01 09:52:13 -07:00
Kenfe-Mickael Laventure
357c47b1a3
Use conf value when killing loaded container
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-05-31 14:51:28 -07:00
Kenfe-Mickaël Laventure
47430d8909
Merge pull request #942 from dmcgowan/travis-make-build
...
Travis make build
2017-05-31 14:10:50 -07:00
Derek McGowan
91f084c6ac
Merge pull request #941 from crosbymichael/client-processes
...
Add Processes() to client
2017-05-31 13:57:38 -07:00
Derek McGowan
dfce91854e
Update travis to run make build
...
Ensure all packages can be built, even those not yet imported by binaries.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-31 13:35:03 -07:00
Derek McGowan
a4b2e580f2
Update continuity
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-31 13:35:03 -07:00
Michael Crosby
ff54c88e99
Add Processes() to client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-31 13:34:38 -07:00
Derek McGowan
126aa07ad2
Push client support
...
Update dist tool to use client package
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-31 13:07:53 -07:00
Stephen Day
8ec5c30d83
Merge pull request #940 from crosbymichael/client-exec
...
Add exec support to client
2017-05-31 11:59:53 -07:00
Kenfe-Mickaël Laventure
95446e8f43
Merge pull request #938 from dmcgowan/client-windows-compile
...
Fix windows build for client
2017-05-31 11:58:36 -07:00
Michael Crosby
ebf935d990
Add exec support to client
...
This also fixes a deadlock in the shim's reaper where execs would lockup
and/or miss a quick exiting exec process's exit status.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-31 11:50:23 -07:00
Ian Campbell
a5d246404c
Reconnect to shim event stream after containerd restart
...
There are three aspects which need to be covered:
- the runtime needs to restart its event pump when it reconnects (in
loadContainer).
- on the server side shim needs to monitor the stream context so it knows when
the connection goes away.
- if the shim's stream.Send() fails (because the stream died between taking
the event off the channel and calling stream.Send()) then to avoid losing
that event the shim should remember it and send it out first on the next
stream.
The shim's event production machinery only handles producing a single event
stream, so add an interlock to ensure there is only one reader of the
`s.events` channel at a time. Subsequent attempts to use Events will block
until the existing owner is done.
Fixes #921 .
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-05-31 13:48:44 +01:00
yuexiao-wang
41308ffa57
optimize for shimCreateCommand
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-05-31 13:57:36 +08:00
Derek McGowan
b1a45c2aee
Fix windows build for client
...
Move io copy logic from ctr utils to io_windows.go.
Fix compilation errors on Windows.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-30 16:57:34 -07:00
Michael Crosby
5e82767d9d
Merge pull request #923 from dmcgowan/push-refactor-handler
...
Move push handler from dist to remotes
2017-05-30 12:54:57 -07:00
Derek McGowan
a7a764adfa
Merge pull request #926 from stevvooe/merge-metadata-storage
...
metadata: merge storage into package
2017-05-30 12:26:44 -07:00
Kenfe-Mickaël Laventure
0e56c47f8c
Merge pull request #928 from AkihiroSuda/oci-rc6
...
vendor: OCI Image Spec v1.0.0-rc6
2017-05-30 10:09:28 -07:00
Michael Crosby
f55f40eeec
Merge pull request #927 from miaoyq/fix-description-for-pprof
...
Fix the description of cmd 'pprof threadcreate'
2017-05-30 09:13:57 -07:00
Michael Crosby
1ee2e14a47
Merge pull request #931 from AkihiroSuda/ctr-shim-flag-fix
...
ctr shim exec: fix cli flag
2017-05-30 09:13:32 -07:00
Akihiro Suda
967a4e0e5a
ctr shim exec: fix cli flag
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-05-27 14:54:38 +00:00
Akihiro Suda
f9039092c5
vendor: OCI Image Spec v1.0.0-rc6
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-05-27 12:27:14 +00:00
Yanqiang Miao
5c32d3871f
Fix the description of cmd 'pprof threadcreate'
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-05-27 13:42:16 +08:00
Stephen J Day
7c14cbc091
metadata: merge storage into package
...
The implementations for the storage of metadata have been merged into a
single metadata package where they can share storage primitives and
techniques. The is a requisite for the addition of namespaces, which
will require a coordinated layout for records to be organized by
namespace.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-05-26 17:16:13 -07:00
Derek McGowan
7fc91b0591
Merge pull request #898 from coolljt0725/stack
...
Add SIGUSR1 to print the stack of containerd
2017-05-26 16:26:50 -07:00
Michael Crosby
b2a3f39992
Merge pull request #922 from crosbymichael/report-m26
...
Add dev report for May 26
2017-05-26 16:22:11 -07:00
Michael Crosby
c72e29ae25
Merge pull request #780 from gianarb/feature/build-docs
...
Added build doc
2017-05-26 16:12:44 -07:00
Derek McGowan
4ac0e69575
Merge pull request #910 from crosbymichael/travis
...
Add integration test support to travis.ci
2017-05-26 16:02:05 -07:00
Michael Crosby
b3f891b09f
Add integration tests for running containers
...
Add travis support for running integration tests with the client package
and go test framework
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-26 15:50:01 -07:00
Michael Crosby
9ddaaff14a
Add dev report for May 26
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-26 15:00:23 -07:00
Derek McGowan
c7317b2d00
Move push handler from dist to remotes
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-26 14:38:39 -07:00
Stephen Day
36f9605479
Merge pull request #911 from dmcgowan/pusher-dispatcher
...
Add image push to dist tool
2017-05-26 14:19:02 -07:00
Stephen Day
ed338d134d
Merge pull request #915 from stevvooe/update-grpc
...
vendor: update grpc dependencies
2017-05-26 14:10:34 -07:00
Michael Crosby
975ed7906b
Merge pull request #889 from crosbymichael/checkpoint-image
...
Rename Image to CheckpointPath in shim
2017-05-26 13:44:53 -07:00
Michael Crosby
ee90a77f63
Rename Image to CheckpointPath in shim
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-26 10:06:53 -07:00
Michael Crosby
9c8e3e38b2
Merge pull request #919 from coolljt0725/remove_epoll_arm64
...
Remove C implementation of epoll on arm64
2017-05-26 10:04:34 -07:00
Lei Jitang
435f03d237
Remove C implementation of epoll on arm64
...
`"golang.org/x/sys/unix"` support epoll on arm64
with 324e137580
There is no need a C implementation of epoll on arm64.
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2017-05-26 13:30:57 -04:00
Michael Crosby
3561d11840
Merge pull request #913 from stevvooe/namespaces
...
api/services/namespaces: define the Namespaces service
2017-05-26 09:35:02 -07:00
Michael Crosby
57a3788c87
Merge pull request #918 from miaoyq/del-redundant-waitExit
...
delete the redundant func "waitExit"
2017-05-26 09:33:56 -07:00
Gianluca Arbezzano
254a95caad
Added build doc
...
This commit added a build chapter into the doc to explain how to compile
`containerd` binaries via Docker container.
I did that after a discussion on Slack. For some reason in my Ubuntu
16.10 I am not able to build containerd. It's probably some trick mess
that I created (I am super powerful on these things).o
But it can be useful for other people like me!
Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2017-05-26 10:56:44 +02:00
Yanqiang Miao
e4e80fb7b7
delete the redundant
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-05-26 16:55:49 +08:00
Stephen J Day
319b5c5ea2
api/services/namespaces: define the Namespaces service
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-05-25 17:39:41 -07:00
Stephen J Day
b626757d06
vendor: update grpc dependencies
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-05-25 17:20:23 -07:00
Derek McGowan
73c8847b47
Add image push to dist tool
...
Implements image push with progress tracking.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-25 16:43:07 -07:00