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
Derek McGowan
199544ea80
Merge pull request #904 from crosbymichael/client
...
Add initial containerd client package
2017-05-25 16:21:57 -07:00
Michael Crosby
cebe099358
Add test flag for setting containerd address
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 15:41:10 -07:00
Stephen Day
26183b3a69
Merge pull request #908 from ehazlett/fix-task-info
...
Updates the execution service to include ContainerID in tasks
2017-05-25 11:40:16 -07:00
Michael Crosby
89037568d3
Add windows spec generation
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:30:16 -07:00
Michael Crosby
d0b22290ec
Don't require rootfs if not set on container
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:17:36 -07:00
Michael Crosby
a2b0824720
Export GRPC services from client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:10:34 -07:00
Michael Crosby
608e6daaa4
Make Task, Container, Image interface types
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:05:58 -07:00
Michael Crosby
1de25c09e3
Add pause resume to task
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 10:15:35 -07:00
Evan Hazlett
f42c762dc4
updates the execution service to include ContainerID in tasks
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-05-25 12:15:00 -04:00
Michael Crosby
e2db2892ec
Unexport client fields
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 16:26:35 -07:00
Michael Crosby
8cd882c570
Add test -short for non-integration tests
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 16:13:54 -07:00
Michael Crosby
5157a326fd
Merge pull request #902 from ehazlett/ctr-env
...
ctr: enable specifying additional environment variables
2017-05-24 16:06:21 -07:00
Michael Crosby
01c4c86414
Add WithNamespace for client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 15:58:48 -07:00
Michael Crosby
bf9ad0c57f
Fix spec generation for task execution
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 15:40:40 -07:00
Evan Hazlett
02fa534d71
ctr: enable specifying additional environment variables
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-05-24 18:24:31 -04:00
Michael Crosby
923236004a
Add pull support to client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 14:08:58 -07:00
Michael Crosby
3ba06e48ed
Add NewTask support to client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 14:08:58 -07:00
Michael Crosby
31a3bda41b
Add NewContainer and Delete container support
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 14:08:58 -07:00
Michael Crosby
d0e5732f0b
Add initial containerd *Client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-24 14:08:58 -07:00
Stephen Day
17033dcaf2
Merge pull request #886 from dmcgowan/pusher
...
Add push object
2017-05-24 13:50:02 -07:00
Michael Crosby
ea9f1dcb70
Merge pull request #901 from justincormack/travis-darwin
...
Add Darwin build support in Travis
2017-05-24 10:21:39 -07:00
Justin Cormack
68eb405c3e
Add Darwin build support in Travis
...
fix #866
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-24 18:03:43 +01:00
Lei Jitang
37aa66484c
Add SIGUSR1 to print the stack of containerd
...
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2017-05-24 13:02:09 -04:00
Kenfe-Mickaël Laventure
2911d342f4
Merge pull request #900 from justincormack/console-up
...
Update go-runc and console
2017-05-24 09:49:29 -07:00
Justin Cormack
a413d3ed0d
Update go-runc and console
...
This removes need for cgo in both of these, and updates licenses.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-24 17:38:24 +01:00
Michael Crosby
ab137bfef8
Merge pull request #899 from ijc25/prepareStdio-named-return
...
prepareStdio: use named return for err
2017-05-24 09:22:47 -07:00
Kenfe-Mickaël Laventure
3752565920
Merge pull request #896 from dmcgowan/container-metadata-bolt
...
Store container metadata in boltdb buckets
2017-05-24 07:47:41 -07:00
Ian Campbell
d7deba03a2
prepareStdio: use named return for err
...
This avoids issues with the various deferred error handlers in the event that
`err` is shadowed or named differently, which this function currently avoids
but which is an easy trap to fall into.
Since named return values are all or nothing we need to name the waitGroup too
and adjust the code to suite.
Thanks to Aaron Lehmann for the suggestion, see also
https://github.com/docker/swarmkit/pull/1965#discussion_r118137410
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-05-24 15:34:39 +01:00
Phil Estes
c257deb1a0
Merge pull request #895 from dmcgowan/delete-windows-snapshotter
...
Skip snapshot removal on windows
2017-05-24 04:59:31 -04:00
Derek McGowan
40d338b12c
Skip snapshot removal on windows
...
Windows snapshotter is not yet implemented
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-23 17:18:31 -07:00
Derek McGowan
f98a4f10df
Store container metadata in boltdb buckets
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-23 17:11:29 -07:00
Kenfe-Mickaël Laventure
c00d731cc2
Merge pull request #894 from dmcgowan/container-metadata-service
...
[carry #859 ] api/services: define the container metadata service
2017-05-23 17:01:05 -07:00
Kenfe-Mickaël Laventure
db6194b918
Merge pull request #893 from ehazlett/bump-fifo
...
Bump fifo dependency to 69b995
2017-05-23 14:47:31 -07:00
Derek McGowan
e1ed4a2ea4
Add json storage for container storage
...
This is just a temporary storage solution to get
containers running on the new code.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-23 14:22:20 -07:00