Akihiro Suda
7a62734d82
linux: error out if no rootfs specified
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-05-14 14:03:26 +00:00
Michael Crosby
01b9f5ec67
Move Container and runtime to plugin pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-11 15:24:12 -07:00
Michael Crosby
23b2b09d13
Update deps after move to containerd org
...
This updates containerd to use the latest versions of cgroups, fifo,
console, and go-runc from the containerd org.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-10 16:51:48 -07:00
Qiang Huang
455a185d98
Merge pull request #740 from crosbymichael/oom-event
...
Emit oom events
2017-04-20 17:23:24 -05:00
Michael Crosby
eba88c1752
Add oom event to monitors
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-13 15:18:43 -07:00
Michael Crosby
efe177ed77
Add exited at to events and delete requests
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-13 13:55:58 -07:00
Michael Crosby
4f7d521510
[exec] Replace syscall with /x/sys/unix
...
This replaces the syscall usage with sys/unix in the execution code
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-10 11:56:33 -07:00
Phil Estes
4f33aa2b5c
Merge pull request #702 from crosbymichael/attach
...
Expose Pty resize and CloseStdin RPCs
2017-04-10 14:38:30 -04:00
Michael Crosby
7482962b9d
Handle restore with dead shim
...
Add functionality for restoring containers after containerd dies and is
restarted with terminated shims.
This ensures that on restore, if a container no longer has a running
shim, containerd will kill and cleanup the container.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-07 14:22:43 -07:00
Michael Crosby
a7da08b7ba
Add Pty and CloseStdin RPCs
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-07 11:20:10 -07:00
Kenfe-Mickael Laventure
c5843b7615
Initial windows runtime work
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-04-07 09:20:44 -07:00
Michael Crosby
4f2b443a27
Rewrite imports for new github org
...
This rewrites the Go imports after switching to the new github org.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-04-03 14:05:44 -07:00
Michael Crosby
5e5479718c
Merge pull request #619 from crosbymichael/no-shim
...
Add `no_shim` config for not running with a shim
2017-03-22 13:49:03 -07:00
Michael Crosby
155185c2b2
Add container to monitor in runtime
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-03-22 11:44:25 -07:00
Michael Crosby
1d7fa45403
Add no_shim
config for not running with a shim
...
This reuses the exiting shim code and services to let containerd run as
the reaper for all container processes without the use of a shim.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-03-10 15:28:21 -08:00
Michael Crosby
df48983fe7
Add reaper code for daemon
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-03-09 16:07:35 -08:00
Michael Crosby
e1731d2e5e
Add linux runtime config
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-03-07 16:46:09 -08:00
Derek McGowan
0b44e24c07
Move plugin registration to separate package
...
Only compile in plugin support on non-windows 1.8.
Re-enable go 1.7.x tests.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2017-03-06 17:23:00 -08:00
Stephen Day
a15aa8e9ab
Merge pull request #593 from ijc25/delete-response
...
Return DeleteResponse from ContainerService.Delete
2017-03-02 10:10:58 -08:00
Ian Campbell
186a9a2acd
Return DeleteResponse from ContainerService.Delete
...
The message was defined but the method was returning empty, plumb through the
result from the shim layer.
Compile tested only.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-03-01 14:59:29 +00:00
Ian Campbell
eae8ca69b7
Do not leak open fd to config.json in newBundle
...
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-03-01 11:15:10 +00:00
Michael Crosby
e693cad926
Change linux runtime(w shim) to builtin
...
Because of the plugin findings and having the default runtime builtin
this makes it much better for development and testing.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-24 15:50:59 -08:00
Michael Crosby
fceafeb4d6
Remvoe go1.7 from travis
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-22 10:28:05 -08:00
Michael Crosby
3101be93bc
Load runtimes dynamically via go1.8 plugins
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Add registration for more subsystems via plugins
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Move content service to separate package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-21 16:29:46 -08:00
Michael Crosby
47ececd6b8
Change Container interface to include Info
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-16 09:59:40 -08:00
Michael Crosby
c869eb0c61
Update vendored packages for changes
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-15 15:10:30 -08:00
Michael Crosby
ab8586b7c5
Remove bundles from API
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-02-15 13:56:41 -08:00