Lantao Liu
322b6ef333
Add unit test.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-22 19:14:09 +00:00
Random-Liu
6ac71e5862
Add initial container implementation.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-22 19:14:09 +00:00
Kenfe-Mickaël Laventure
a7f5c20b0f
Merge pull request #883 from crosbymichael/report-may19
...
Add dev report for may 19
2017-05-22 09:29:35 -07:00
Phil Estes
0cd93ba618
Merge pull request #882 from mlaventure/order-exit-events
...
Ensure shim start & exit events are sent in right order
2017-05-22 12:12:16 -04:00
Michael Crosby
3c3352cea6
Add dev report for may 19
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-22 08:59:08 -07:00
Kenfe-Mickael Laventure
8ca92a2aa8
Ensure shim start & exit events are sent in right order
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-05-19 15:31:18 -07:00
Stephen Day
e4bb820b55
Merge pull request #878 from crosbymichael/runc
...
Add RUNC.md file for runc supported version
2017-05-19 12:41:33 -07:00
Stephen Day
14671353af
Merge pull request #880 from dmcgowan/fix-content-reader-bug
...
Clear extra in content service reader after consumed
2017-05-19 12:37:32 -07:00
Derek McGowan
e0136cc83f
Clear extra in content service reader after consumed
...
Avoid bugs where content can mistakenly be read from
extra after an EOF is returned.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-19 11:37:40 -07:00
Michael Crosby
fa1be5dfb8
Add RUNC.md file for runc supported version
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-19 11:18:18 -07:00
Phil Estes
5ee77fc281
Merge pull request #876 from stevvooe/nice-enum-values
...
api/types/container: nice enum values for status
2017-05-19 11:19:22 -04:00
Phil Estes
761534ec38
Merge pull request #877 from stevvooe/consistent-id-protobuf
...
protos: remove need for customname on ID fields
2017-05-19 11:17:42 -04:00
Stephen J Day
cb68150a2f
protos: remove need for customname on ID fields
...
Credit to Aaron Lehmann for the implementation from SwarmKit.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-05-18 18:50:59 -07:00
Stephen Day
0f0f3b69dc
Merge pull request #875 from Random-Liu/return-not-found-on-delete
...
Return ErrNotFound when deleting a non-exist image.
2017-05-18 17:53:20 -07:00
Stephen J Day
178b4275ca
api/types/container: nice enum values for status
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-05-18 17:48:20 -07:00
Stephen Day
0dbe46d952
Merge pull request #824 from ehazlett/signal-specific-pid
...
Support to signal container process by pid
2017-05-18 17:01:10 -07:00
Random-Liu
c163673ba3
Return ErrNotFound when deleting a non-exist image.
...
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-18 15:49:39 -07:00
Michael Crosby
3f02f5f2ee
Merge pull request #874 from estesp/oci-spec-reference-vers
...
Reference actual versions for specs in vendor.conf
2017-05-18 13:58:05 -07:00
Phil Estes
26f4d4448e
Reference actual versions for specs in vendor.conf
...
For runtime and image spec from OCI, reference the actual versions
instead of a git hash for clarity on versions in use.
Actual impact was zero; runtime spec was the exact hash of the released
rc5 already, image spec was one commit behind the tagged release, but
made no code changes other than version string.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-05-18 16:46:28 -04:00
Michael Crosby
eef22d77b4
Merge pull request #873 from justincormack/make-flags
...
Allow adding additional ldflags and other build flags
2017-05-18 09:47:15 -07:00
Evan Hazlett
c17ef22a75
windows: use ProcessList from shim for pids
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-05-18 11:05:48 -04:00
Evan Hazlett
70dd7fcc60
shim: Ps -> Processes
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-05-18 11:05:48 -04:00
Evan Hazlett
395d21018f
PsRequest/PsResponse -> ProcessesRequest/ProcessesResponse; added Any to types.Process
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-05-18 11:05:48 -04:00
Evan Hazlett
ef158f8b5e
add support to kill container process by pid
...
This adds support for signalling a container process by pid.
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
make Ps more extensible
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
ps: windows support
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-05-18 11:05:48 -04:00
Justin Cormack
508ff6e9c3
Allow adding additional ldflags and other build flags
...
For LinuxKit we build Go executables as static pie binaries, so
need to be able to add extra build and link flags.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-18 15:52:32 +01:00
Michael Crosby
ae70dc4de1
Merge pull request #870 from estesp/update-email
...
Update with preferred email address
2017-05-17 11:21:36 -07:00
Phil Estes
d2c0f309d9
Update with preferred email address
...
Update MAINTAINERS file with my preferred email address as others use
this to send mail, add to mailing lists, etc. My
contributor/Signed-off-by is a valid address, but not the one I use for
community interactions.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-05-17 14:09:15 -04:00
Lantao Liu
dea7ed3fcc
Merge pull request #39 from mozhuli/enhance-fake-services
...
Enhance fake services
2017-05-17 09:03:48 -07:00
Lantao Liu
a397b69b09
Merge pull request #37 from mozhuli/add-fake-iamges-service
...
Add fake images service
2017-05-17 09:02:54 -07:00
mozhuli
938cbe3e74
Enhance fake services
...
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-05-17 11:25:46 +08:00
mozhulee
e6b4c3e18c
Add fake images service
...
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-05-17 11:11:23 +08:00
Lantao Liu
b4f9911f0e
Merge pull request #30 from mozhuli/master
...
Add fake rootfs service
2017-05-16 19:18:14 -07:00
mozhuli
0e56cab7c0
add fake rootfs service
...
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-05-17 10:10:20 +08:00
Stephen Day
fae11b6673
Merge pull request #863 from dmcgowan/diff-service
...
Implementation for diff service
2017-05-16 15:27:21 -07:00
Michael Crosby
cd282f458a
Merge pull request #864 from mlaventure/revert-rootfs-error
...
Revert "Merge pull request #853 from AkihiroSuda/check-rootfs"
2017-05-16 15:05:27 -07:00
Michael Crosby
ce0c802bae
Merge pull request #865 from mlaventure/close-stdin-pipe-if-not-requested
...
Close stdin on create if it wasn't requested and there's no terminal
2017-05-16 15:05:15 -07:00
Kenfe-Mickael Laventure
dd16c0583b
Revert "Merge pull request #853 from AkihiroSuda/check-rootfs"
...
This reverts commit c1530b5b76
, reversing
changes made to 3695ba77bb
.
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-05-16 14:48:13 -07:00
Kenfe-Mickael Laventure
5523936cf5
Close stdin on create if it wasn't requested and there's no terminal
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-05-16 14:16:47 -07:00
Derek McGowan
4304da2b58
Delete rootfs when container is deleted
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-16 13:48:53 -07:00
Derek McGowan
3ae69c43d8
Add diff service implementation
...
Add snapshot subcommand to ctr for creating diffs of RW layers.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-16 13:48:53 -07:00
Random-Liu
11fff60aff
Add container metadata store.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-16 20:47:25 +00:00
Random-Liu
48118ae086
Update godeps.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-16 20:47:17 +00:00
Lantao Liu
55545ef83f
Merge pull request #38 from Random-Liu/add-not-exist-error
...
Return not exist error in metadata store
2017-05-16 13:45:49 -07:00
Phil Estes
6a7aea6fb1
Merge pull request #860 from mlaventure/exit-shim-on-create-error
...
Terminate linux shim on create failure
2017-05-16 16:42:51 -04:00
Kenfe-Mickael Laventure
aac425c761
Terminate linux shim on create failure
...
Since an error is returned via the RPC clients will assume (rightly so)
that a call to the Delete() RPC is not necessary.
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-05-16 13:31:06 -07:00
Lantao Liu
2d2fcedf24
Return not exist error in metadata store
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-16 19:57:41 +00:00
Kenfe-Mickaël Laventure
47718b0930
Merge pull request #861 from justincormack/go-runc-port
...
Portability fixes for containerd shim
2017-05-16 12:07:08 -07:00
Derek McGowan
c1530b5b76
Merge pull request #853 from AkihiroSuda/check-rootfs
...
linux: error out if no rootfs specified
2017-05-16 10:38:25 -07:00
Michael Crosby
3695ba77bb
Merge pull request #849 from dmcgowan/snapshot-service
...
Add snapshot and diff service
2017-05-16 10:35:12 -07:00
Justin Cormack
6a571ecd40
Portability fixes for containerd shim
...
Update go-runc to master with portability fixes.
Subreaper only exists on Linux, and only Linux runs the shim in a
mount namespace.
With these changes the shim compiles on Darwin, which means the
whole build compiles without errors now.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-16 17:13:32 +01:00