The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Sebastiaan van Stijn cf7a5be0f2
daemon: don't adjust oom-score if score is 0
This patch makes two changes if --oom-score-adj is set to 0

- do not adjust the oom-score-adjust cgroup for dockerd
- do not set the hard-coded -999 score for containerd if
  containerd is running as child process

Before this change:

oom-score-adj | dockerd       | containerd as child-process
--------------|---------------|----------------------------
-             | -500          | -500 (same as dockerd)
-100          | -100          | -100 (same as dockerd)
 0            |  0            | -999 (hard-coded default)

With this change:

oom-score-adj | dockerd       | containerd as child-process
--------------|---------------|----------------------------
-             | -500          | -500 (same as dockerd)
-100          | -100          | -100 (same as dockerd)
0             | not adjusted  | not adjusted

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-05 19:52:02 +02:00
.github Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
api Merge pull request #41072 from AkihiroSuda/fix-41071 2020-10-01 11:56:00 -07:00
builder Merge pull request #41360 from lzhfromustc/GL_5 2020-09-12 21:43:05 -07:00
cli remove uses of deprecated pkg/term 2020-04-21 16:29:27 +02:00
client Check for context error that is wrapped in url.Error 2020-08-03 15:59:22 +03:00
cmd/dockerd Merge pull request #41072 from AkihiroSuda/fix-41071 2020-10-01 11:56:00 -07:00
container Merge pull request #40856 from cpuguy83/reduce_allocs_on_env_repalce 2020-05-12 15:19:10 -07:00
contrib Allow download-frozen-images to work without go 2020-09-28 19:10:16 +00:00
daemon daemon: don't adjust oom-score if score is 0 2020-10-05 19:52:02 +02:00
distribution Disable manifest v2 schema 1 push 2020-07-31 20:13:58 +02:00
dockerversion Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
docs api: clarify "v" option behavior in the container remove endpoint 2020-09-23 12:34:52 +03:00
errdefs bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
hack Merge pull request #41463 from StefanScherer/win-investigate-cidut-out 2020-09-19 15:00:25 +02:00
image bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
integration Merge pull request #41430 from TBBle/40444-update-gowinio-for-8gB-file-fix 2020-09-24 11:16:10 -07:00
integration-cli Sterner warnings for unathenticated tcp 2020-09-25 00:21:54 +00:00
internal/test/suite integration-cli: move each test suite to its own TestX testing function 2019-09-18 18:26:36 +00:00
layer replace pkg/locker with github.com/moby/locker 2020-09-10 22:15:40 +02:00
libcontainerd daemon: don't adjust oom-score if score is 0 2020-10-05 19:52:02 +02:00
oci oci: add tests for loading seccomp profiles 2020-09-29 20:15:43 +02:00
opts opts: simplify ValidateEnv to use os.LookupEnv 2020-08-14 16:58:30 +02:00
patches Remove blurb about fixed in go1.11 in patch file 2020-04-24 11:23:14 -07:00
pkg pkg/system: make EnsureRemoveAll unix-specific 2020-09-21 01:23:28 -07:00
plugin Remove redundant "os.IsNotExist" checks on os.RemoveAll() 2020-09-23 10:30:53 +02:00
profiles seccomp: remove dependency on oci package 2020-09-29 19:39:15 +02:00
project project: remove obviously outdated docs 2020-06-24 19:58:25 +09:00
reference fix goimports 2020-02-11 22:16:54 +09:00
registry registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
reports Fix typos 2018-05-16 09:15:43 +08:00
restartmanager unconvert: remove unnescessary conversions 2019-09-18 12:57:33 +02:00
rootless rootless: support --exec-opt native.cgroupdriver=systemd 2020-02-14 15:32:31 +09:00
runconfig pkg/sysinfo: rm duplicates 2020-06-26 16:19:52 -07:00
testutil Upgrading the versions of images in Dockerfile. 2020-06-30 12:24:06 +08:00
vendor Merge pull request #39838 from thaJeztah/bump_gcplogs 2020-10-02 06:30:48 -07:00
volume replace pkg/locker with github.com/moby/locker 2020-09-10 22:15:40 +02:00
.DEREK.yml Update .DEREK.yml 2019-05-06 13:27:04 -07:00
.dockerignore update .dockerignore to prevent '-unsupported' builds 2020-01-13 12:55:15 +01:00
.gitignore Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
.mailmap Update authors and mailmap 2020-08-06 01:57:12 +02:00
AUTHORS Update authors and mailmap 2020-08-06 01:57:12 +02:00
CHANGELOG.md Fix some typos 2018-09-07 13:13:47 +08:00
codecov.yml Add code coverage report and codecov config 2018-01-16 16:50:56 -05:00
CONTRIBUTING.md Update CONTRIBUTING.md to have an option to keep name anonymous if requested 2019-07-15 16:04:11 +02:00
Dockerfile Allow download-frozen-images to work without go 2020-09-28 19:10:16 +00:00
Dockerfile.buildx Bump Golang 1.13.15 2020-08-10 12:13:38 +02:00
Dockerfile.e2e Bump Golang 1.13.15 2020-08-10 12:13:38 +02:00
Dockerfile.simple Bump Golang 1.13.15 2020-08-10 12:13:38 +02:00
Dockerfile.windows Force Download-File function to use TLS 1.2 2020-09-20 23:18:16 +03:00
Jenkinsfile Windows CI: Make sure that CI fails on any error 2020-09-17 08:59:49 +03:00
LICENSE Update LICENSE 2018-09-12 14:27:53 +01:00
MAINTAINERS Add myself as a curator 2020-01-09 15:03:38 -05:00
Makefile Makefile: remove empty targets, and slight refactor 2020-05-01 16:48:07 +02:00
NOTICE switch kr/pty to creack/pty v1.1.7 2019-07-29 16:59:08 -07:00
poule.yml Poule: remove random assign 2019-09-05 20:57:17 +02:00
README.md Add "Lego set" back in README.md 2017-10-10 14:10:39 +00:00
ROADMAP.md Fix some typos in ROADMAP.md 2019-01-25 14:27:13 +08:00
SECURITY.md Update SECURITY.md to have an option to keep name anonymous if requested. 2019-06-18 16:37:16 +00:00
TESTING.md fix typos and grammar in docs 2020-06-26 17:30:59 -06:00
vendor.conf Merge pull request #39838 from thaJeztah/bump_gcplogs 2020-10-02 06:30:48 -07:00
VENDORING.md fix the bare url and the Summary of http://semver.org 2017-01-17 16:20:11 +08:00

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.