An open and reliable container runtime
Go to file
Michael Crosby 06b9cb3516 Merge pull request #1305 from mlaventure/update-runc-on-v0.2.x
Update runc to d40db12e72a40109dfcf28539f5ee0930d2f0277
2017-08-08 10:56:31 -04:00
api Update runtime-spec to v1.0.0 2017-08-03 07:30:49 -07:00
archutils Add golint to test (#255) 2016-06-03 15:00:49 -07:00
containerd Merge pull request #1177 from keloyang/containerd-panic 2017-08-01 16:52:51 +02:00
containerd-shim Correct 'go vet' errors 2017-05-10 18:31:03 +08:00
ctr Update logrus to v1.0.1 2017-07-26 11:24:10 -07:00
docs Update import path to use containerd/containerd instead of docker/docker 2017-04-13 11:58:06 -07:00
hack Update logrus to v1.0.1 2017-07-26 11:24:10 -07:00
integration-test Update runtime-spec to v1.0.0 2017-08-03 07:30:49 -07:00
osutils Kill shim on restore if the bundle dir is missing 2017-04-26 13:56:49 +08:00
runtime Update runtime-spec to v1.0.0 2017-08-03 07:30:49 -07:00
specs Update runtime-spec to v1.0.0 2017-08-03 07:30:49 -07:00
supervisor Merge pull request #1177 from keloyang/containerd-panic 2017-08-01 16:52:51 +02:00
testutils Correct 'go vet' errors 2017-05-10 18:31:03 +08:00
vendor Update runc to d40db12e72a40109dfcf28539f5ee0930d2f0277 2017-08-08 07:49:22 -07:00
.gitignore A few .gitignore updates (#308) 2016-08-26 09:40:41 -07:00
.travis.yml Update runtime-spec to v1.0.0 2017-08-03 07:30:49 -07:00
CONTRIBUTING.md Move sign off instructions to CONTRIBUTING.md 2016-04-06 14:14:51 -07:00
Dockerfile Update to lastest runc 2017-05-03 14:00:55 -07:00
Jenkinsfile Initial jenkinsfile (#306) 2016-08-26 10:24:30 -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 Add travis support for branch v0.2.x 2017-04-24 18:18:15 -07:00
NOTICE Update readme and documentation for release 2015-12-16 12:15:22 -08:00
README.md Update import path to use containerd/containerd instead of docker/docker 2017-04-13 11:58:06 -07:00
vendor.conf Update runc to d40db12e72a40109dfcf28539f5ee0930d2f0277 2017-08-08 07:49:22 -07:00
version.go Update version to 0.2.3 2016-08-10 08:59:47 -07:00

README.md

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/.