Michael Crosby
c141cb670f
Fix nil checks for cgroup fields
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-04 13:40:28 -08:00
Kunal Kushwaha
a3cf409ada
Fixes the compile issue#62
...
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2015-12-25 11:58:11 +09:00
Michael Crosby
b296d50493
Update resource on libcontainer change
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-17 13:58:50 -08:00
Michael Crosby
76cf593212
Add oom notifications and pid to create response
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 16:22:53 -08:00
Michael Crosby
ec31245f54
Add exec process log support
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 11:43:51 -08:00
Michael Crosby
d542ece69c
Add tty support from client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 16:47:42 -08:00
Michael Crosby
e480aedaea
Add console support
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 13:31:30 -08:00
Michael Crosby
9052c886f0
Fix leak in logging and proc pipes
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 11:56:01 -08:00
Michael Crosby
e5545a1461
Add basic logging to file support
...
This currently logs to a json file with the stream type. This is slow
and hard on the cpu and memory so we need to swich this over to
something like protobufs for the binary logs but this is just a start.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 10:26:49 -08:00
Michael Crosby
0470f0790e
Add pid to containers output
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 15:53:23 -08:00
Michael Crosby
cab1086d27
Fix checkpoint list when no dir
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 17:08:39 -08:00
Michael Crosby
f8ee26ffca
Merge pull request #14 from LK4D4/add_logging
...
Add logging and more info
2015-12-08 11:38:13 -08:00
Alexander Morozov
cf3b72852a
Add log and more context to errors in Create
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:33:19 -08:00
Alexander Morozov
9f5caf529c
Add logging for started supervisor
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:30:50 -08:00
Michael Crosby
2290eaaccd
Add initial framework for stats
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 10:04:31 -08:00
Michael Crosby
3fdc48eb01
Add checkpoint timestamp based on mtime
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 15:12:57 -08:00
Michael Crosby
b5931855a4
Add ability to signal container not just processes
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:10:50 -08:00
Michael Crosby
9eb08b8971
Refactor checkpoint information
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:00:07 -08:00
Michael Crosby
e21364603e
Change c/r leaverunning to exit
...
This allows the default checkpoint functionality to leave the container
running after it has been checkpointed.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 13:35:03 -08:00
Michael Crosby
ae9b2bafd5
Add basic checkpoint and restore support
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 16:07:53 -08:00
Michael Crosby
b823ce9149
Move libcontainer to linux pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 12:00:11 -08:00