The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Brian Goff dbeb432965 Fix panic on daemon restart with running plugin
Scenario:

Daemon is ungracefully shutdown and leaves plugins running (no
live-restore).
Daemon comes back up.
The next time a container tries to use that plugin it will cause a
daemon panic because the plugin client is not set.

This fixes that by ensuring that the plugin does get shutdown.
Note, I do not think there would be any harm in just re-attaching to the
running plugin instead of shutting it down, however historically we shut
down plugins and containers when live-restore is not enabled.

[kir@: consolidate code to deleteTaskAndContainer, a few minor nits]

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-06-07 17:27:02 -07:00
.github Remove myself from CODEOWNERS 2018-03-26 13:45:05 -04:00
api api: add configurable MaskedPaths and ReadOnlyPaths to the API 2018-06-05 12:33:14 -04:00
builder vendor: use dockerfile parser from buildkit 2018-06-02 11:10:34 -07:00
cli Various code-cleanup 2018-05-23 17:50:54 +02:00
client Merge pull request #36874 from kolyshkin/stop-timeout 2018-05-30 13:38:42 -04:00
cmd/dockerd Extract volume interaction to a volumes service 2018-05-25 14:21:07 -04:00
container Merge pull request #36688 from cpuguy83/volumes_service 2018-06-05 02:16:20 +02:00
contrib Remove contrib/project-stats.sh 2018-05-04 16:33:44 -04:00
daemon api: add configurable MaskedPaths and ReadOnlyPaths to the API 2018-06-05 12:33:14 -04:00
distribution Various code-cleanup 2018-05-23 17:50:54 +02:00
dockerversion Various code-cleanup 2018-05-23 17:50:54 +02:00
docs Bump API version to v1.38 2018-05-24 02:39:28 +02:00
errdefs Fix typos: remove duplicated "the" 2018-05-17 21:49:51 +09:00
hack Merge pull request #37209 from thaJeztah/bump_libnetwork 2018-06-06 13:41:33 -07:00
image Various code-cleanup 2018-05-23 17:50:54 +02:00
integration Merge pull request #37215 from adshmh/integration-container-links-tests-use-unique-names 2018-06-07 22:34:12 +02:00
integration-cli Merge pull request #37194 from AntaresS/fix-test-failure 2018-06-05 02:38:04 +02:00
internal Various code-cleanup 2018-05-23 17:50:54 +02:00
layer Remove metadata store interface 2018-03-06 10:42:00 -08:00
libcontainerd Update containerd daemon 2018-06-04 15:37:03 -07:00
migrate/v1 Various code-cleanup 2018-05-23 17:50:54 +02:00
oci Various code-cleanup 2018-05-23 17:50:54 +02:00
opts Various code-cleanup 2018-05-23 17:50:54 +02:00
pkg Merge pull request #36688 from cpuguy83/volumes_service 2018-06-05 02:16:20 +02:00
plugin Fix panic on daemon restart with running plugin 2018-06-07 17:27:02 -07:00
profiles If container will run as non root user, drop permitted, effective caps early 2018-03-19 14:45:27 -07:00
project Remove references to old release process 2018-05-18 18:28:43 +00:00
reference Various code-cleanup 2018-05-23 17:50:54 +02:00
registry Various code-cleanup 2018-05-23 17:50:54 +02:00
reports Fix typos 2018-05-16 09:15:43 +08:00
restartmanager Add canonical import comment 2018-02-05 16:51:57 -05:00
runconfig Automated migration using 2018-03-16 11:03:43 -04:00
vendor Merge pull request #37209 from thaJeztah/bump_libnetwork 2018-06-06 13:41:33 -07:00
volume Fix wrong assertion in volume/service package 2018-06-05 18:51:17 +02:00
.DEREK.yml project: try alexellis/derek bot to manage PRs and issues 2017-12-04 16:11:41 +01:00
.dockerignore [EXPERIMENTAL] Integration Test on Swarm 2017-02-28 02:10:09 +00:00
.gitignore Add code coverage report and codecov config 2018-01-16 16:50:56 -05:00
.mailmap Update authors and mailmap 2018-05-21 01:07:22 +02:00
AUTHORS Update authors and mailmap 2018-05-21 01:07:22 +02:00
CHANGELOG.md Re-order CHANGELOG.md to pass make validate test 2018-05-13 00:27:51 +00:00
codecov.yml Add code coverage report and codecov config 2018-01-16 16:50:56 -05:00
CONTRIBUTING.md Fix a typo in CONTRIBUTING.md 2018-01-28 16:19:51 +00:00
Dockerfile Remove references to old release process 2018-05-18 18:28:43 +00:00
Dockerfile.e2e Bump go version to 1.10.2 2018-05-07 14:19:16 -04:00
Dockerfile.simple Bump go version to 1.10.2 2018-05-07 14:19:16 -04:00
Dockerfile.windows Bump go version to 1.10.2 2018-05-07 14:19:16 -04:00
LICENSE Update copyright dates 2017-02-24 19:41:59 +00:00
MAINTAINERS Mark @thajeztah as a MAINTAINER… 2018-06-07 19:50:41 +02:00
Makefile Allow to add any args when doing a make run 2018-06-01 19:19:20 +02:00
NOTICE Update LICENSE date 2017-02-15 17:34:33 +01:00
poule.yml Add myself to poule to get 2w/old PRs 2018-04-16 18:33:21 +02:00
README.md Add "Lego set" back in README.md 2017-10-10 14:10:39 +00:00
ROADMAP.md Update the Roadmap 2017-10-11 17:33:50 +01:00
TESTING.md Update testing doc 2018-03-16 11:03:47 -04:00
vendor.conf Merge pull request #37209 from thaJeztah/bump_libnetwork 2018-06-06 13:41:33 -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.