Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
Cory Snider 4bafaa00aa Refactor libcontainerd to minimize c8d RPCs
The containerd client is very chatty at the best of times. Because the
libcontained API is stateless and references containers and processes by
string ID for every method call, the implementation is essentially
forced to use the containerd client in a way which amplifies the number
of redundant RPCs invoked to perform any operation. The libcontainerd
remote implementation has to reload the containerd container, task
and/or process metadata for nearly every operation. This in turn
amplifies the number of context switches between dockerd and containerd
to perform any container operation or handle a containerd event,
increasing the load on the system which could otherwise be allocated to
workloads.

Overhaul the libcontainerd interface to reduce the impedance mismatch
with the containerd client so that the containerd client can be used
more efficiently. Split the API out into container, task and process
interfaces which the consumer is expected to retain so that
libcontainerd can retain state---especially the analogous containerd
client objects---without having to manage any state-store inside the
libcontainerd client.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2022-08-24 14:59:08 -04:00
.github ci: print Windows daemon event log timestamps 2022-08-23 14:16:21 -04:00
api Update container OOMKilled flag immediately 2022-08-24 14:59:07 -04:00
builder daemon, builder: rename variables that collided with imports 2022-08-08 13:16:10 +02:00
cli
client
cmd Merge pull request #43971 from thaJeztah/daemon_fix_hosts_validation_step1c3 2022-08-18 21:30:07 +02:00
container Refactor libcontainerd to minimize c8d RPCs 2022-08-24 14:59:08 -04:00
contrib
daemon Refactor libcontainerd to minimize c8d RPCs 2022-08-24 14:59:08 -04:00
distribution
dockerversion
docs Merge pull request #43657 from thaJeztah/default_builder_version 2022-08-18 20:14:47 +02:00
errdefs
hack integration-cli: Correct emptyfs id under c8d 2022-08-16 13:01:48 +02:00
image
integration daemon: kill exec process on ctx cancel 2022-08-23 15:35:30 +02:00
integration-cli integration-cli: add utility to check if snapshotters are enabled 2022-08-24 14:03:15 +02:00
internal/test/suite
layer
libcontainerd Refactor libcontainerd to minimize c8d RPCs 2022-08-24 14:59:08 -04:00
libnetwork libnetwork/drivers/ipvlan: fix missing IpvlanFlag field in config JSON 2022-08-24 16:23:32 +08:00
oci
opts
pkg pkg/idtools: remove deprecated NewIdentityMapping, UIDS() and GIDS() 2022-08-09 18:03:29 +02:00
plugin Refactor libcontainerd to minimize c8d RPCs 2022-08-24 14:59:08 -04:00
profiles seccomp: allow "bpf", "perf_event_open", gated by CAP_BPF, CAP_PERFMON 2022-08-18 18:34:09 +02:00
project
quota
reference
registry
reports
restartmanager
rootless
runconfig
testutil
vendor Merge pull request #43353 from thaJeztah/update_logentries 2022-08-19 18:03:40 +02:00
volume
.DEREK.yml
.dockerignore
.gitattributes
.gitignore
.mailmap
AUTHORS
CHANGELOG.md
CONTRIBUTING.md
Dockerfile
Dockerfile.e2e
Dockerfile.simple
Dockerfile.windows update containerd binary to v1.6.7 2022-08-05 00:15:21 +02:00
Jenkinsfile
LICENSE
MAINTAINERS
Makefile Makefile: update buildx to v0.9.0 2022-08-17 14:55:39 +02:00
NOTICE
README.md
ROADMAP.md
SECURITY.md
TESTING.md
VENDORING.md
codecov.yml
docker-bake.hcl
vendor.mod Merge pull request #43353 from thaJeztah/update_logentries 2022-08-19 18:03:40 +02:00
vendor.sum Merge pull request #43353 from thaJeztah/update_logentries 2022-08-19 18:03:40 +02:00

README.md

The Moby Project

Moby Project logo

Moby is an open-source project created by Docker to enable and accelerate software containerization.

It provides a "Lego set" of toolkit components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts and professionals to experiment and exchange ideas. Components include container build tools, a container registry, orchestration tools, a runtime and more, and these can be used as building blocks in conjunction with other tools and projects.

Principles

Moby is an open project guided by strong principles, aiming to be modular, flexible and without too strong an opinion on user experience. It is open to the community to help set its direction.

  • Modular: the project includes lots of components that have well-defined functions and APIs that work together.
  • Batteries included but swappable: Moby includes enough components to build fully featured container system, but its modular architecture ensures that most of the components can be swapped by different implementations.
  • Usable security: Moby provides secure defaults without compromising usability.
  • Developer focused: The APIs are intended to be functional and useful to build powerful tools. They are not necessarily intended as end user tools but as components aimed at developers. Documentation and UX is aimed at developers not end users.

Audience

The Moby Project is intended for engineers, integrators and enthusiasts looking to modify, hack, fix, experiment, invent and build systems based on containers. It is not for people looking for a commercially supported system, but for people who want to work and learn with open source code.

Relationship with Docker

The components and tools in the Moby Project are initially the open source components that Docker and the community have built for the Docker Project. New projects can be added if they fit with the community goals. Docker is committed to using Moby as the upstream for the Docker Product. However, other projects are also encouraged to use Moby as an upstream, and to reuse the components in diverse ways, and all these uses will be treated in the same way. External maintainers and contributors are welcomed.

The Moby project is not intended as a location for support or feature requests for Docker products, but as a place for contributors to work on open source code, fix bugs, and make the code more useful. The releases are supported by the maintainers, community and users, on a best efforts basis only, and are not intended for customers who want enterprise or commercial support; Docker EE is the appropriate product for these use cases.


Legal

Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Moby may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see https://www.bis.doc.gov

Licensing

Moby is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.