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 ebcb7d6b40 Remove string checking in API error handling
Use strongly typed errors to set HTTP status codes.
Error interfaces are defined in the api/errors package and errors
returned from controllers are checked against these interfaces.

Errors can be wraeped in a pkg/errors.Causer, as long as somewhere in the
line of causes one of the interfaces is implemented. The special error
interfaces take precedence over Causer, meaning if both Causer and one
of the new error interfaces are implemented, the Causer is not
traversed.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-08-15 16:01:11 -04:00
.github Add an initial CODEOWNERS 2017-07-26 16:04:23 -04:00
api Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
builder Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
cli Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
client Fix requests for docker host ending with slash 2017-08-11 10:47:02 -07:00
cmd/dockerd Implement none, private, and shareable ipc modes 2017-08-14 10:50:39 +03:00
container Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
contrib Update tmLanguage file to not be case sensitive 2017-08-05 19:45:54 +09:00
daemon Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
distribution Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
dockerversion Spelling fixes 2017-07-03 13:13:09 -07:00
docs Implement none, private, and shareable ipc modes 2017-08-14 10:50:39 +03:00
hack Merge pull request #34492 from AkihiroSuda/fix-integration-cli-on-swarm 2017-08-14 12:20:18 -04:00
image Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
integration move api test client setup to a package. 2017-08-09 11:02:57 -04:00
integration-cli Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
layer Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
libcontainerd jhoward/opengcs --> Microsoft/opengcs 2017-08-08 14:43:43 -07:00
migrate/v1 Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
oci Implement none, private, and shareable ipc modes 2017-08-14 10:50:39 +03:00
opts Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
pkg Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
plugin Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
profiles Merge pull request #34445 from pmoust/f-seccomp-quotacl 2017-08-09 11:53:13 -07:00
project Remove test-integration-cli and references to it. 2017-08-09 11:02:57 -04:00
reference Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
registry Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
reports Add builder dev report for 2017-07-17 2017-07-18 18:31:42 -07:00
restartmanager
runconfig Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
vendor Merge pull request #34378 from fcrisciani/ln-vendoring 2017-08-10 17:07:14 -07:00
volume Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
.dockerignore
.gitignore Cleanup test output, and binaries. 2017-08-09 11:02:57 -04:00
.mailmap Update authors and mailmap 2017-07-18 10:36:11 +02:00
AUTHORS Update authors and mailmap 2017-07-18 10:36:11 +02:00
CHANGELOG.md Spelling fixes 2017-07-03 13:13:09 -07:00
CONTRIBUTING.md Introduce test-integration target (and deprecate/freeze test-integration-cli) 2017-08-09 11:02:57 -04:00
Dockerfile Merge pull request #34362 from kolyshkin/update-libdevmapper 2017-08-14 09:56:43 -04:00
Dockerfile.aarch64 Merge pull request #34362 from kolyshkin/update-libdevmapper 2017-08-14 09:56:43 -04:00
Dockerfile.armhf Merge pull request #34362 from kolyshkin/update-libdevmapper 2017-08-14 09:56:43 -04:00
Dockerfile.ppc64le Merge pull request #34362 from kolyshkin/update-libdevmapper 2017-08-14 09:56:43 -04:00
Dockerfile.s390x Merge pull request #34362 from kolyshkin/update-libdevmapper 2017-08-14 09:56:43 -04:00
Dockerfile.simple Remove test-integration-cli and references to it. 2017-08-09 11:02:57 -04:00
Dockerfile.solaris Remove pkcs11, libltdl-dev, and clang for osx. 2017-06-21 11:18:44 -04:00
Dockerfile.windows Bump go to go1.8.3 2017-05-30 10:15:59 -04:00
LICENSE
MAINTAINERS Add Boaz Shuster ("ripcurld0") as curator 2017-07-27 13:10:21 +02:00
Makefile Remove test-integration-cli and references to it. 2017-08-09 11:02:57 -04:00
NOTICE
poule.yml Disable auto-assigning PR's to milestones 2017-06-13 03:32:48 +02:00
README.md Add link to docker.com in README.md 2017-07-06 23:09:54 +05:30
ROADMAP.md
vendor.conf Merge pull request #34378 from fcrisciani/ln-vendoring 2017-08-10 17:07:14 -07:00
VENDORING.md
VERSION bump API and version 2017-04-11 11:21:55 -07:00

Docker users, see Moby and Docker to clarify the relationship between the projects

Docker maintainers and contributors, see Transitioning to Moby for more details

The Moby Project

Moby Project logo

Moby is an open-source project created by Docker to advance the software containerization movement. It provides a “Lego set” of dozens of components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.

Moby

Overview

At the core of Moby is a framework to assemble specialized container systems. It provides:

  • A library of containerized components for all vital aspects of a container system: OS, container runtime, orchestration, infrastructure management, networking, storage, security, build, image distribution, etc.
  • Tools to assemble the components into runnable artifacts for a variety of platforms and architectures: bare metal (both x86 and Arm); executables for Linux, Mac and Windows; VM images for popular cloud and virtualization providers.
  • A set of reference assemblies which can be used as-is, modified, or used as inspiration to create your own.

All Moby components are containers, so creating new components is as easy as building a new OCI-compatible container.

Principles

Moby is an open project guided by strong principles, but modular, flexible and without too strong an opinion on user experience, so it is open to the community to help set its direction. The guiding principles are:

  • 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 will provide secure defaults without compromising usability.
  • Container centric: Moby is built with containers, for running containers.

With Moby, you should be able to describe all the components of your distributed application, from the high-level configuration files down to the kernel you would like to use and build and deploy it easily.

Moby uses containerd as the default container runtime.

Audience

Moby is recommended for anyone who wants to assemble a container-based system. This includes:

  • Hackers who want to customize or patch their Docker build
  • System engineers or integrators building a container system
  • Infrastructure providers looking to adapt existing container systems to their environment
  • Container enthusiasts who want to experiment with the latest container tech
  • Open-source developers looking to test their project in a variety of different systems
  • Anyone curious about Docker internals and how its built

Moby is NOT recommended for:

  • Application developers looking for an easy way to run their applications in containers. We recommend Docker CE instead.
  • Enterprise IT and development teams looking for a ready-to-use, commercially supported container platform. We recommend Docker EE instead.
  • Anyone curious about containers and looking for an easy way to learn. We recommend the docker.com website instead.

Transitioning to Moby

Docker is transitioning all of its open source collaborations to the Moby project going forward. During the transition, all open source activity should continue as usual.

We are proposing the following list of changes:

  • splitting up the engine into more open components
  • removing the docker UI, SDK etc to keep them in the Docker org
  • clarifying that the project is not limited to the engine, but to the assembly of all the individual components of the Docker platform
  • open-source new tools & components which we currently use to assemble the Docker product, but could benefit the community
  • defining an open, community-centric governance inspired by the Fedora project (a very successful example of balancing the needs of the community with the constraints of the primary corporate sponsor)

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.