Commit graph

1080 commits

Author SHA1 Message Date
Michael Crosby
31abb1d8b6 Update readme format
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-01 12:00:06 -08:00
Michael Crosby
fdbae36237 Move oci and shim to execution package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-01 11:06:32 -08:00
Michael Crosby
c2a57e2b00 Fix build because of imports in package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-01 10:47:47 -08:00
Michael Crosby
2ead05e6f1 Add metrics endpoint for containerd
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-01 10:34:57 -08:00
Kenfe-Mickael Laventure
6c7b4b4c17 proto: make container.proto compile
Replaced tags with owner. This assumes we will provide a Metadata
endpoint since we're planning on using it for distribution.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-01 10:28:38 -08:00
Michael Crosby
f8e7d65b18 Update readme based on doc 2016-12-01 10:22:15 -08:00
Stephen J Day
aa4a1f851d
log: remove crusty context, replace with shiny
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-30 17:40:26 -08:00
Stephen J Day
29004dc3b4 Merge branch 'swarmkit-master' into merge-log-swarmkit 2016-11-30 17:30:09 -08:00
Michael Crosby
4764e8902f Add start of roadmap for the project
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-30 15:27:20 -08:00
Stephen J Day
cd4f1f98d8 log: mark grpc messages with module
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-30 14:07:51 -08:00
Michael Crosby
3ef3f74878 Add ctr run functions for mocking client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-29 16:52:04 -08:00
Michael Crosby
3ebf1c456b Add containerd main binary code
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-29 16:10:41 -08:00
Michael Crosby
503b068f59 Change base package to containerd from containerkit
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-29 16:08:30 -08:00
Michael Crosby
51510a8806 Move osutil to sys package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-29 15:38:24 -08:00
Michael Crosby
789ff967c1 Move epoll to sys package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-29 15:37:06 -08:00
Michael Crosby
0806a0d8db Update container protos
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-29 15:36:25 -08:00
Stephen J Day
2498220eea
design: adjust description of snapshot diffs
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-29 11:47:34 -08:00
Stephen J Day
8a02e94fbf
design: describe the role of the mount
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-28 19:14:20 -08:00
Stephen J Day
3110cf37dc
snapshot: rename layer manipulator to snapshot
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-28 18:58:25 -08:00
Stephen J Day
afb175d76d
design: add design document for snapshots
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-28 18:51:44 -08:00
Michael Crosby
fc577a1cbb Add protos for initial API
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-28 15:28:38 -08:00
Michael Crosby
5f757c914c Update readme for containerd 2016-11-28 15:15:40 -08:00
Stephen J Day
9dea9654bd
content: query active downloads and status
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-15 20:29:43 -08:00
Stephen J Day
b6e446e7be
content: add cross-process ingest locking
Allow content stores to ingest content without coordination of a daemon
to manage locks. Supports coordinated ingest and cross-process ingest
status.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-15 20:29:10 -08:00
Michael Crosby
f832e757f8 Remove more top level files
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-07 13:19:18 -08:00
Michael Crosby
1c6ed30a79 Remove vendor and fix go build
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-07 13:15:32 -08:00
Michael Crosby
e115b52ce2 Remove containerd files
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-07 13:10:09 -08:00
Michael Crosby
992fdbfd76 Updates to Root comment
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-07 11:57:14 -08:00
Stephen J Day
3469905bbb
content: break up into multiple files
Break up the content store prototype into a few logical files. We have a
file for the store, the writer and helpers.

Also, the writer has been modified to remove write and exec permissions
on blobs in the store.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-03 17:18:45 -07:00
Michael Crosby
efed5a918e Talk about SD and scheduling
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-02 15:05:07 -07:00
Michael Crosby
916349d359 Fix readme numbering
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-02 14:56:00 -07:00
Michael Crosby
f240c3d1a7 Add scope to readme
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-02 14:54:45 -07:00
Stephen J Day
9008471a84
content: initial implementation of content store
After experimenting with pull, we've defined a transactional content
store for verified storage of fetched items. A base component of
containerkit, this will interact with both the runtime and distribution
sides of the system, avoiding coupling.

Blob access if provided through direct access to readonly files.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-01 18:43:15 -07:00
Michael Crosby
788e19d251 Move runtime and Mounts to container config
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-28 15:51:31 -07:00
Michael Crosby
3551d4c0b9 Implement live restore with shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-06 15:18:26 -07:00
Michael Crosby
a861ae9d18 Fix monitor with process events
Monitor was receiving multiple events for the process

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-06 15:06:34 -07:00
Michael Crosby
1911191f94 Implement Load for shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-06 11:54:59 -07:00
Michael Crosby
4641ab4101 Fix process wait with monitor
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-06 11:46:03 -07:00
Michael Crosby
90e4f130c8 Add working shim exec driver for start
Still need to implement a working Wait() on the process using epoll
because of the non-blocking exit fifo

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-06 11:39:12 -07:00
Michael Crosby
c76f883ccd Finish port of shim package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-05 15:07:20 -07:00
Michael Crosby
0f33efb1f7 Add start of shim code to new interfaces
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-04 10:45:09 -07:00
Michael Crosby
5cdaf7f8bb Use interfaces for container creation
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-03 15:48:39 -07:00
Michael Crosby
be20dd0484 Update oci executor to use Opts
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-10-03 15:20:45 -07:00
Michael Crosby
23adfe42f9 Add loading of existing container
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-30 13:51:10 -07:00
Michael Crosby
06e42ec370 Rename runc to oci package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-30 10:39:26 -07:00
Michael Crosby
49710435b7 Cleanup example usage and defaults
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-28 15:36:46 -07:00
Michael Crosby
df79231bdf Add exec to example
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-28 15:27:24 -07:00
Michael Crosby
b3ab74fee3 Add rough container type and runc runtime
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-28 15:09:22 -07:00
Stephen J Day
c2da97c4d1 containerkit: layer manipulator overlay poc
A light weight overlay implementation that emits working mounts is
demonstrated. One can prepare and commit changes. The diffs are
correctly held on disk.

The next step from here is to implement the changes methods and ensure
that we can work with the docker registry API.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-09-26 21:43:58 -07:00
Stephen J Day
34b630c861 layers: add design and structure of layer manipulator
We define the approach and API of the LayerManipulator. It provides a
model for a bare bones graph driver using a simplified snapshotting
model. Callers Prepare and Commit diff paths to build up a tree of
interelated layers, all without being coupled to the layer diff format
or an image runtime.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-09-26 19:34:43 -07:00