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
Sebastiaan van Stijn 30f15d2bdc
overlay: do not ignore invalid storage-driver options
The overlay storage driver currently does not support any option, but was silently
ignoring any option that was passed.

This patch verifies that no options are passed, and if they are passed will produce
an error.

Before this change:

    dockerd --storage-driver=overlay --storage-opt dm.thinp_percent=95
    INFO[2018-05-11T11:40:40.996597152Z] libcontainerd: started new docker-containerd process  pid=256
    ....
    INFO[2018-05-11T11:40:41.135392535Z] Daemon has completed initialization
    INFO[2018-05-11T11:40:41.141035093Z] API listen on /var/run/docker.sock

After this change:

    dockerd --storage-driver=overlay --storage-opt dm.thinp_percent=95
    INFO[2018-05-11T11:39:21.632610319Z] libcontainerd: started new docker-containerd process  pid=233
    ....
    Error starting daemon: error initializing graphdriver: overlay: unknown option dm.thinp_percent

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-05-11 13:40:46 +02:00
.github Remove myself from CODEOWNERS 2018-03-26 13:45:05 -04:00
api Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
builder Export BuildArgs 2018-05-08 14:57:26 -07:00
cli Add canonical import comment 2018-02-05 16:51:57 -05:00
client Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
cmd/dockerd Merge pull request #36921 from cyli/filter-namespaced-labels 2018-05-07 15:12:52 +02:00
container Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
contrib Remove contrib/project-stats.sh 2018-05-04 16:33:44 -04:00
daemon overlay: do not ignore invalid storage-driver options 2018-05-11 13:40:46 +02:00
distribution Bump docker/distribution to 83389a148052d74ac602f5f1d62f86ff2f3c4aa5 2018-04-30 09:30:56 -07:00
dockerversion Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
docs Adjust minimum API version for templated configs/secrets 2018-02-21 15:23:00 +01:00
errdefs Fix definition of ErrSystem type 2018-03-05 23:42:23 +01:00
hack Bump tini to v0.18.0 2018-04-25 17:50:56 +02:00
image Merge pull request #36816 from arm64b/using-parent-img-arch4dockerbuilder 2018-04-26 20:06:40 +02:00
integration Merge pull request #36803 from adshmh/refactor-network-integration-tests-use-swarm-create-service 2018-05-08 00:21:32 +02:00
integration-cli Merge pull request #36612 from kolyshkin/t-attach 2018-05-08 03:26:25 +02:00
internal Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
layer Remove metadata store interface 2018-03-06 10:42:00 -08:00
libcontainerd Merge pull request #36684 from cpuguy83/bump_containerd_client 2018-04-19 10:38:43 +02:00
migrate/v1 Add canonical import comment 2018-02-05 16:51:57 -05:00
oci Add /proc/keys to masked paths 2018-02-21 16:23:34 +00:00
opts Allow user to control the default address pools 2018-04-30 11:14:08 -04:00
pkg Merge pull request #36918 from Sh4d1/master 2018-04-30 11:57:21 +02:00
plugin Switch from x/net/context -> context 2018-04-23 13:52:44 -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 Add Moby TSC references/governance details 2017-12-13 16:51:46 -05:00
reference Automated migration using 2018-03-16 11:03:43 -04:00
registry Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
reports Add builder dev report for 2017-07-17 2017-07-18 18:31:42 -07: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 #36979 from anshulpundir/vndr 2018-05-06 22:28:46 +02:00
volume Fix issues with running volume tests as non-root. 2018-04-24 10:26:10 -04: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 2018-02-21 21:12:31 +01:00
AUTHORS Update authors 2018-02-21 21:12:31 +01:00
CHANGELOG.md Dropped hyphen in bind mount where appropriate 2017-08-19 21:25:07 +07: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 Bump go version to 1.10.2 2018-05-07 14:19:16 -04: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
MAINTAINERS Update curators list 2018-03-26 10:39:52 +02:00
Makefile Remove unused/unmaintained package builder stuff 2018-05-04 16:33:40 -04: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 #36979 from anshulpundir/vndr 2018-05-06 22:28:46 +02: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.