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 b27f70d45a Fix issue with plugin scanner going to deep
The plugin spec says that plugins can live in one of:

- /var/run/docker/plugins/<name>.sock
- /var/run/docker/plugins/<name>/<name>.sock
- /etc/docker/plugins/<name>.[json,spec]
- /etc/docker/plugins/<name>/<name>.<json,spec>
- /usr/lib/docker/plugins/<name>.<json,spec>
- /usr/lib/docker/plugins/<name>/<name>.<json,spec>

However, the plugin scanner which is used by the volume list API was
doing `filepath.Walk`, which will walk the entire tree for each of the
supported paths.
This means that even v2 plugins in
`/var/run/docker/plugins/<id>/<name>.sock` were being detected as a v1
plugin.
When the v1 plugin loader tried to load such a plugin it would log an
error that it couldn't find it because it doesn't match one of the
supported patterns... e.g. when in a subdir, the subdir name must match
the plugin name for the socket.

There is no behavior change as the error is only on the `Scan()` call,
which is passing names to the plugin registry when someone calls the
volume list API.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-02-02 16:49:14 -05:00
.github Rename a few docker to moby 2017-10-25 13:56:12 +02:00
api Merge pull request #36013 from thaJeztah/improve-version-middleware-test 2018-01-22 14:59:06 -08:00
builder Merge pull request #35986 from thaJeztah/bump-containerd-1.0.1-rc1 2018-01-19 15:48:36 -05:00
cli Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
client Alias container and network packages to stop name clashes 2018-01-19 10:26:41 +00:00
cmd/dockerd Fix node-generic-resources CLI typo 2018-01-10 00:51:47 +01:00
container Make container resource mounts unbindable 2018-01-16 15:09:05 -05:00
contrib [ci] use alternate bash comparison 2018-01-12 11:05:20 -05:00
daemon Merge pull request #36019 from thaJeztah/improve-config-reload 2018-01-22 17:58:25 -08: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 introduce « exec_die » event 2018-01-08 11:42:25 +01:00
errdefs Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
hack Bump runc to 7f24b40cc5423969b4554ef04ba0b00e2b4ba010 2018-01-18 10:07:50 +01:00
image Remove OS() from layer interface 2018-01-18 12:56:28 -08:00
integration Merge pull request #35919 from yongtang/35333-carry 2018-01-20 18:47:16 +01:00
integration-cli Fixes for libcontainer changes 2018-01-18 10:08:12 +01:00
internal TestImportExtremelyLargeImageWorks: optimize DevZero 2017-12-28 13:08:41 -08:00
layer Remove OS() from layer interface 2018-01-18 12:56:28 -08: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 Don't special case /sys/firmware in masked paths 2017-11-08 12:10:42 -08:00
opts Remove redundant build-tags 2017-12-18 17:41:53 +01:00
pkg Fix issue with plugin scanner going to deep 2018-02-02 16:49:14 -05:00
plugin LCOW: Refactor to multiple layer-stores based on feedback 2018-01-18 08:31:05 -08:00
profiles Copy Inslice() to those parts that use it 2017-11-10 13:42:38 +08:00
project Add Moby TSC references/governance details 2017-12-13 16:51:46 -05:00
reference Add gosimple linter 2017-09-12 12:09:59 -04:00
registry Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
reports Add builder dev report for 2017-07-17 2017-07-18 18:31:42 -07:00
restartmanager Adding support for docker max restart time 2017-02-04 03:54:47 +00:00
runconfig Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
vendor Merge pull request #35986 from thaJeztah/bump-containerd-1.0.1-rc1 2018-01-19 15:48:36 -05: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 [EXPERIMENTAL] Integration Test on Swarm 2017-02-28 02:10:09 +00:00
.gitignore Cleanup test output, and binaries. 2017-08-09 11:02:57 -04:00
.mailmap Cleanup and sort .mailmap 2018-01-02 12:48:14 +01:00
AUTHORS Update mailmap and authors 2018-01-02 12:47:47 +01:00
CHANGELOG.md Dropped hyphen in bind mount where appropriate 2017-08-19 21:25:07 +07:00
CONTRIBUTING.md Add Moby TSC references/governance details 2017-12-13 16:51:46 -05:00
Dockerfile Merge pull request #35697 from sargun/use-pgzip 2018-01-17 11:18:20 -08:00
Dockerfile.aarch64 Merge pull request #35697 from sargun/use-pgzip 2018-01-17 11:18:20 -08:00
Dockerfile.armhf Merge pull request #35697 from sargun/use-pgzip 2018-01-17 11:18:20 -08:00
Dockerfile.e2e Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
Dockerfile.ppc64le Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
Dockerfile.s390x Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
Dockerfile.simple Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
Dockerfile.windows Bump Go to 1.9.2 2017-11-21 20:57:02 +01:00
LICENSE Update copyright dates 2017-02-24 19:41:59 +00:00
MAINTAINERS Add Moby TSC references/governance details 2017-12-13 16:51:46 -05:00
Makefile api: generalize version information to any platform component 2017-12-06 23:23:55 +01:00
NOTICE Update LICENSE date 2017-02-15 17:34:33 +01:00
poule.yml Disable auto-assigning PR's to milestones 2017-06-13 03:32:48 +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 Add testing.md 2017-08-04 17:36:18 -04:00
vendor.conf Merge pull request #35986 from thaJeztah/bump-containerd-1.0.1-rc1 2018-01-19 15:48:36 -05: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.