1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Brian Goff 426e610e43 Use runtime spec modifier for metrics plugin hook
Currently the metrics plugin uses a really hackish host mount with
propagated mounts to get the metrics socket into a plugin after the
plugin is alreay running.
This approach ends up leaking mounts which requires setting the plugin
manager root to private, which causes some other issues.

With this change, plugin subsystems can register a set of modifiers to
apply to the plugin's runtime spec before the plugin is ever started.
This will help to generalize some of the customization work that needs
to happen for various plugin subsystems (and future ones).

Specifically it lets the metrics plugin subsystem append a mount to the
runtime spec to mount the metrics socket in the plugin's mount namespace
rather than the host's and prevetns any leaking due to this mount.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-02-07 15:48:26 -05:00
.github
api Merge pull request #36146 from yongtang/36142-TaskState 2018-02-02 11:33:25 -08:00
builder Move builder shell parser into subpackage 2018-01-30 17:54:39 -08:00
cli
client Merge pull request #35979 from emil2k/fix-container-copy-err 2018-01-25 13:48:49 -08:00
cmd/dockerd Fix "--node-generic-resource" singular/plural 2018-01-26 13:53:13 -08:00
container Make container resource mounts unbindable 2018-01-16 15:09:05 -05:00
contrib Bump Go to 1.9.3 2018-01-22 13:40:19 -08:00
daemon Use runtime spec modifier for metrics plugin hook 2018-02-07 15:48:26 -05:00
distribution Remove OS() from layer interface 2018-01-18 12:56:28 -08:00
dockerversion api: generalize version information to any platform component 2017-12-06 23:23:55 +01:00
docs Update API version history for Init with POST /containers/create 2018-01-25 19:05:22 +00:00
errdefs Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
hack Merge pull request #36193 from dnephin/debug-swagger-gen-failures 2018-02-02 19:54:30 -08:00
image Remove OS() from layer interface 2018-01-18 12:56:28 -08:00
integration Merge pull request #36223 from yongtang/02062018-clean 2018-02-06 17:26:49 -08:00
integration-cli Migrates TestContainersAPINetworkMountsNoChown to api tests 2018-02-06 15:56:20 +00:00
internal TestImportExtremelyLargeImageWorks: optimize DevZero 2017-12-28 13:08:41 -08:00
layer Golint fix with ro_layer.go 2018-01-24 18:24:03 +00:00
libcontainerd Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
migrate/v1 Remove OS() from layer interface 2018-01-18 12:56:28 -08:00
oci
opts Remove redundant build-tags 2017-12-18 17:41:53 +01:00
pkg Merge pull request #36119 from cpuguy83/fix_plugin_scanner 2018-02-02 20:19:01 -08:00
plugin Use runtime spec modifier for metrics plugin hook 2018-02-07 15:48:26 -05:00
profiles
project Add Moby TSC references/governance details 2017-12-13 16:51:46 -05:00
reference
registry Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
reports
restartmanager
runconfig
vendor vendor: update BurntSushi/toml for MIT license 2018-02-05 13:57:49 +09:00
volume Merge pull request #35441 from cpuguy83/plugin_timeout 2018-01-17 14:49:41 +01:00
.DEREK.yml project: try alexellis/derek bot to manage PRs and issues 2017-12-04 16:11:41 +01:00
.dockerignore
.gitignore
.mailmap Update authors 2018-01-24 00:55:47 -08:00
AUTHORS Update authors 2018-01-24 00:55:47 -08:00
CHANGELOG.md
CONTRIBUTING.md Fix a typo in CONTRIBUTING.md 2018-01-28 16:19:51 +00:00
Dockerfile Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
Dockerfile.aarch64 Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
Dockerfile.armhf Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
Dockerfile.e2e Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
Dockerfile.ppc64le Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
Dockerfile.s390x Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
Dockerfile.simple Bump Go to 1.9.3 2018-01-22 13:40:19 -08:00
Dockerfile.windows Bump Go to 1.9.3 2018-01-22 13:40:19 -08:00
LICENSE
MAINTAINERS Add Moby TSC references/governance details 2017-12-13 16:51:46 -05:00
Makefile Merge pull request #34369 from cyphar/build-buildmode-pie 2018-01-29 23:54:03 +09:00
NOTICE
poule.yml
README.md
ROADMAP.md
TESTING.md
vendor.conf vendor: update BurntSushi/toml for MIT license 2018-02-05 13:57:49 +09:00
VENDORING.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.