An open and reliable container runtime https://github.com/containerd/containerd
Find a file
Doug Davis 8ffaa02cd9 Add a better error msg
See https://github.com/docker/docker/issues/22643 for an example
where we get an error running a cmd but there's no output so `b`
is an empty string, which means the user doesn't see any interesting
error message to help them.

This PR will send back the `err` and `b` so that between those two
bits of info they should get something more than a blank string.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-05-18 13:52:57 -07:00
api Update grpc and protobufs dep (#243) 2016-05-18 09:16:55 -07:00
archutils Correct build flag for arm64 2016-04-29 11:42:41 +00:00
containerd Remove sigchld reaper from containerd process 2016-04-27 16:02:03 -07:00
containerd-shim Pass runtime args to runtime delete call from shim 2016-04-26 11:14:37 -07:00
ctr Add new version command to ctr 2016-05-09 11:38:41 -07:00
docs Move docs in readme to separate pages 2016-04-06 14:14:51 -07:00
hack Update grpc and protobufs dep (#243) 2016-05-18 09:16:55 -07:00
integration-test Update grpc and protobufs dep (#243) 2016-05-18 09:16:55 -07:00
osutils Remove windows files 2016-04-26 14:10:33 -07:00
runtime Add a better error msg 2016-05-18 13:52:57 -07:00
specs Remove windows files 2016-04-26 14:10:33 -07:00
supervisor Fix restore to correctly set the exec timeout value (containerd) 2016-05-02 14:04:14 -07:00
vendor/src Update grpc and protobufs dep (#243) 2016-05-18 09:16:55 -07:00
.gitignore Add integration-test/test-artifacts to .gitignore 2016-03-28 10:09:16 -07:00
CONTRIBUTING.md Move sign off instructions to CONTRIBUTING.md 2016-04-06 14:14:51 -07:00
Dockerfile Install containerd binaries into built docker image 2016-05-13 11:44:01 -07:00
LICENSE.code Update readme and version to 0.1.0 2016-03-21 13:01:28 -07:00
LICENSE.docs Update copyright and license 2015-12-18 00:08:16 +01:00
MAINTAINERS Add tonis and mickael as maintainers 2016-03-21 13:16:12 -07:00
Makefile Merge pull request #242 from mYmNeo/uninstall 2016-05-18 09:24:00 -07:00
NOTICE Update readme and documentation for release 2015-12-16 12:15:22 -08:00
README.md Provide more useful help information for ctr 2016-04-18 15:32:46 +08:00
version.go Add new GetServerVersion rpc method 2016-05-09 11:38:28 -07:00

containerd

containerd is a daemon to control runC, built for performance and density. containerd leverages runC's advanced features such as seccomp and user namespace support as well as checkpoint and restore for cloning and live migration of containers.

Getting started

The easiest way to start using containerd is to download binaries from the releases page.

The included ctr command-line tool allows you interact with the containerd daemon:

$ sudo ctr containers start redis /containers/redis
$ sudo ctr containers list
ID                  PATH                STATUS              PROCESSES
redis               /containers/redis   running             14063

/containers/redis is the path to an OCI bundle. See the docs for more information.

Docs

All documentation is contained in the /docs directory in this repository.

Building

You will need to make sure that you have Go installed on your system and the containerd repository is cloned in your $GOPATH. You will also need to make sure that you have all the dependencies cloned as well. Currently, contributing to containerd is not for the first time devs as many dependencies are not vendored and work is being completed at a high rate.

After that just run make and the binaries for the daemon and client will be localed in the bin/ directory.

Performance

Starting 1000 containers concurrently runs at 126-140 containers per second.

Overall start times:

[containerd] 2015/12/04 15:00:54   count:        1000
[containerd] 2015/12/04 14:59:54   min:          23ms
[containerd] 2015/12/04 14:59:54   max:         355ms
[containerd] 2015/12/04 14:59:54   mean:         78ms
[containerd] 2015/12/04 14:59:54   stddev:       34ms
[containerd] 2015/12/04 14:59:54   median:       73ms
[containerd] 2015/12/04 14:59:54   75%:          91ms
[containerd] 2015/12/04 14:59:54   95%:         123ms
[containerd] 2015/12/04 14:59:54   99%:         287ms
[containerd] 2015/12/04 14:59:54   99.9%:       355ms

Roadmap

The current roadmap and milestones for alpha and beta completion are in the github issues on this repository. Please refer to these issues for what is being worked on and completed for the various stages of development.

Copyright © 2016 Docker, Inc. All rights reserved, except as follows. Code is released under the Apache 2.0 license. The README.md file, and files in the "docs" folder are licensed under the Creative Commons Attribution 4.0 International License under the terms and conditions set forth in the file "LICENSE.docs". You may obtain a duplicate copy of the same license, titled CC-BY-SA-4.0, at http://creativecommons.org/licenses/by/4.0/.