Commit graph

1250 commits

Author SHA1 Message Date
Michael Crosby
c1d1c67444 Merge branch 'docs' 2015-12-07 14:19:25 -08:00
Michael Crosby
b3645c066d Add bundle documentation
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:15:12 -08:00
Alexander Morozov
4b4198ea73 Remove ctr binary from repository
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-07 12:40:01 -08:00
Alexander Morozov
18d01f19e4 Fix compilation for all tags
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-07 12:39:24 -08:00
Michael Crosby
59093a22d0 Add prctl to utils package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 10:36:48 -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
7baee380ea Update readme with performance stuff
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 15:04:53 -08:00
Michael Crosby
8af8c56510 Update docs for new api endpoints
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:44:08 -08:00
Michael Crosby
72ee22ad60 Bump to alpha v0.0.2
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:17:26 -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
c10b3cde9f Implement proper shutdown logic
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 13:31:17 -08:00
Michael Crosby
a10aa91051 Add prctl set child subreaper
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 11:40:22 -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
c1eb9ac90b Change /containers to /state with machine info
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 11:49:56 -08:00
Michael Crosby
3ea5dd79e0 Make events chan local to supervisor
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:44:39 -08:00
Michael Crosby
5eac8891ed Move task workers to new type
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:42:28 -08:00
Michael Crosby
b344f0a1c6 add waitgroup to journal
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:17:12 -08:00
Michael Crosby
45c935403d Merge branch 'runc' 2015-12-02 16:38:11 -08:00
Michael Crosby
a2ab27ad5b Add runc support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 16:37:46 -08:00
Michael Crosby
847e5bc7ee Add basic frame and ctr command line client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 14:41:49 -08:00
Michael Crosby
ba46df11b4 Remove daemon subcommand
Removing subcommands for the containerd binary because we will have a
separate ctctl or other named binary for client actions.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 13:39:36 -08:00
Michael Crosby
8f8f365787 Add linux import path
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 10:59:43 -08:00
David Calavera
e4a61633c5 Add event subscribers.
- Add exit event for exec processes.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:49:24 -05:00
David Calavera
05f20c993d Make supervisor.go to compile without libcontainer.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:47:27 -05: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
Michael Crosby
c24abdde1b Move runtime implementation types to pkg
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 11:56:08 -08:00
Michael Crosby
779cb69e6d Refactor event loop with types
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 10:55:13 -08:00
Michael Crosby
510c9c852b Add funcs for events endpoint
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-30 15:46:36 -08:00
Michael Crosby
3a30ea0c4f Add basic stats
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-30 15:34:10 -08:00
Michael Crosby
c42c9aeb06 Return nil processes with no pid 2015-11-13 14:52:25 -08:00
Michael Crosby
371226d314 Give event loop it's own thread 2015-11-13 14:13:13 -08:00
Michael Crosby
18338b29a1 Add journal queue 2015-11-13 14:09:35 -08:00
Michael Crosby
0136213e78 Add basic log support 2015-11-13 13:25:03 -08:00
Michael Crosby
f9ad7970d2 Improve process addition and removal
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

implement pause and resume

Add godeps

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

Add readme

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-13 13:25:03 -08:00
Michael Crosby
17d9c10e2d Implement journal replay
Add addprocess event for addtional processes

Add more api process information
2015-11-13 13:25:02 -08:00
Michael Crosby
6ff2239019 Add journaling 2015-11-10 14:24:34 -08:00
Michael Crosby
d34d482a5f Implement container signal 2015-11-10 13:44:35 -08:00
Michael Crosby
a2ddcc2232 implement state api command 2015-11-10 11:38:26 -08:00
Michael Crosby
cb7ab16427 Remove process
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-06 16:58:11 -08:00
Michael Crosby
c787ecada3 Fix concurrency issues 2015-11-06 16:44:52 -08:00
Michael Crosby
412d2b0239 Flatten stuff 2015-11-06 15:42:32 -08:00
Michael Crosby
86ec7e8fd2 Sync container start 2015-11-06 13:01:55 -08:00
Michael Crosby
e81513349f Use gague for go routines 2015-11-05 17:03:37 -08:00
Michael Crosby
1005dfb224 Fix panic on nil container 2015-11-05 16:54:45 -08:00
Michael Crosby
5f5f4904e0 Making containers run and delete 2015-11-05 16:40:57 -08:00
Michael Crosby
2af0f297fe Add basic counters 2015-11-05 16:16:11 -08:00
Michael Crosby
05683fb0ee Fix build errors 2015-11-05 15:49:13 -08:00
Michael Crosby
15a96783ca Initial commit 2015-11-05 15:29:53 -08:00