Commit graph

567 commits

Author SHA1 Message Date
Michael Crosby
4eb0a4ef8d Merge branch 'docs' 2015-12-16 12:15:25 -08:00
Michael Crosby
83eeb131d8 Update readme and documentation for release
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-16 12:15:22 -08:00
Michael Crosby
c35cf680b0 Merge pull request #32 from LK4D4/stop_collection
Stop stats collection on container exit
2015-12-16 11:26:42 -08:00
Alexander Morozov
188eeae376 Stop stats collection on container exit
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-16 09:39:28 -08:00
Michael Crosby
ab9be566cf Bump version to 0.0.4
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 17:03:11 -08:00
Michael Crosby
8167d2b13f Add license
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 16:59:24 -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
db181c6132 Add benchmark tool to gitignore
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 11:04:38 -08:00
Michael Crosby
75eeb1eb6f Rename start.go to create.go
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 10:54:00 -08:00
Michael Crosby
94d807aec4 Get terminal setting from spec
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 10:51:12 -08:00
Michael Crosby
db2f72620f Merge branch 'sockets' 2015-12-14 17:36:14 -08:00
Alexander Morozov
ca4191ce41 Use unix-socket as communication channel
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

Conflicts:
	ctr/container.go
2015-12-14 17:35:49 -08:00
Michael Crosby
e16dfc36a5 Merge branch 'tty' 2015-12-14 17:13:54 -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
b2e649b164 Add console to proto
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 16:27:28 -08:00
Michael Crosby
327573a61e Make stats command be subcommand
This makes the stats command be a sub command of container.
It also makes the id provided via the first arg instead of a flag.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 16:06:27 -08:00
Michael Crosby
daa13e48b1 Merge pull request #22 from LK4D4/stats_add
Initial implementation of stats
2015-12-14 16:04:53 -08:00
Alexander Morozov
4bc322397f Add initial implementation of stats
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-14 14:45:06 -08:00
Alexander Morozov
ce387dc505 Add datastructures for stats API
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-14 14:43:56 -08:00
Michael Crosby
04f4df9879 Merge branch 'logs' 2015-12-14 14:41:10 -08:00
Michael Crosby
92c0790899 Add stdin support for client and daemon
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 14:40:50 -08:00
Michael Crosby
c4aa39a818 Update protos with stdin for container create
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 14:18:42 -08:00
Michael Crosby
e9f63fc9a4 Add basic fifo support for IO copy
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-14 14:15:26 -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
25973db0c9 Set higher rlimit for logs and pipes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 14:33:48 -08:00
Michael Crosby
15080cda61 Add logging to runc runtime
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 13:59:19 -08:00
Michael Crosby
c425446c8e Merge pull request #20 from LK4D4/make_protoc
Add protoc target to makefile
2015-12-11 13:44:29 -08:00
Alexander Morozov
59a595c69f Add protoc target to makefile
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-11 12:08:02 -08:00
Michael Crosby
1e6ebc63bb Merge branch 'logs' 2015-12-11 12:00:41 -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
3010f209ff Refactor container info in supervisor
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 11:27:33 -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
8469b6d6a4 Merge pull request #18 from LK4D4/api_docs
Add initial documentation for api
2015-12-10 14:55:49 -08:00
Alexander Morozov
04d2034a83 Add initial documentation for api
Cool that protoc generates docstrings for pb.go file

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-10 14:43:23 -08:00
Michael Crosby
e0da266b71 Add comments to various functions
Don't export the notify subscribers method

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-10 14:11:00 -08:00
Michael Crosby
d9881ab912 Add locks around subscribers channel
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-10 13:56:49 -08:00
Michael Crosby
71ef776082 Add events support in client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-10 12:30:20 -08:00
Michael Crosby
288b9a0cc3 Add addProcess cli 'exec' command
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-10 11:03:36 -08:00
Michael Crosby
21259f7fec Add checkpoint commands to client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 17:03:53 -08:00
Michael Crosby
585be1254f Update to 0.0.3
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 16:38:45 -08:00
Michael Crosby
2d4755ee6b Add benchmark tool
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 16:15:54 -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
1d3349128e Replace rest api with grpc api
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 15:39:27 -08:00
Michael Crosby
11c27935d0 Replace api cli with grpc cli
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 15:37:04 -08:00
Michael Crosby
2b108580fb Merge pull request #16 from LK4D4/grpc_api
Prototype of grpc API
2015-12-09 15:08:40 -08:00
Alexander Morozov
e14e4576c9 Prototype of grpc API
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-09 15:05:50 -08:00
Michael Crosby
6d3c60d8fb Add fd output to debug metrics
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 14:40:55 -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
e87f8336c4 Add more client methods
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 13:31:20 -08:00