Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
Sebastiaan van Stijn e53f65a916
pkg/signal: remove DefaultStopSignal const
This const was previously living in pkg/signal, but with that package
being moved to its own module, it didn't make much sense to put docker's
defaults in a generic module.

The const from the "signal" package is currenlty used *both* by the CLI
and the daemon as a default value when creating containers. This put up
some questions:

a. should the default be non-exported, and private to the container
   package? After all, it's a _default_ (so should be used if _NOT_ set).
b. should the client actually setting a default, or instead just omit
   the value, unless specified by the user? having the client set a
   default also means that the daemon cannot change the default value
   because the client (or older clients) will override it.
c. consider defaults from the client and defaults of the daemon to be
   separate things, and create a default const in the CLI.

This patch implements option "a" (option "b" will be done separately,
as it involves the CLI code). This still leaves "c" open as an option,
if the CLI wants to set its own default.

Unfortunately, this change means we'll have to drop the alias for the
deprecated pkg/signal.DefaultStopSignal const, but a comment was left
instead, which can assist consumers of the const to find why it's no
longer there (a search showed the Docker CLI as the only consumer though).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-11 10:31:29 +02:00
.github Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
api API: discard `/system/df` `type` parameter pre-1.42 2021-08-06 19:33:16 +02:00
builder Merge pull request #42684 from thaJeztah/remove_lcow_step7 2021-08-05 15:16:24 -07:00
cli
client Merge pull request #42559 from rvolosatovs/system_df_types 2021-08-02 21:03:05 +02:00
cmd Merge pull request #42641 from thaJeztah/make_signal_selfcontained 2021-07-19 14:46:15 -07:00
container pkg/signal: remove DefaultStopSignal const 2021-08-11 10:31:29 +02:00
contrib Merge pull request #41897 from gunadhya/f-Update_check_config 2021-07-29 13:56:25 +02:00
daemon daemon,volume: share disk usage computations 2021-08-09 19:59:39 +02:00
distribution distribution: remove LCOW code 2021-07-27 13:36:17 +02:00
dockerversion
docs API,daemon: support `type` URL parameter to /system/df 2021-07-27 12:17:45 +02:00
errdefs
hack bump up rootlesskit to v0.14.4 2021-08-04 16:34:09 +09:00
image remove various LCOW bits (container, image, pkg/containerfs) 2021-07-27 13:36:21 +02:00
integration Merge pull request #42559 from rvolosatovs/system_df_types 2021-08-02 21:03:05 +02:00
integration-cli Merge pull request #42639 from thaJeztah/system_info_clean 2021-07-19 15:17:07 +01:00
internal/test/suite
layer
libcontainerd libcontainerd/local: remove LCOW bits 2021-07-27 15:12:04 +02:00
libnetwork libnetwork/networkdb: consistently wait for nodes in tests 2021-08-01 17:47:51 +02:00
oci oci/caps: simplify, and remove types that were not needed 2021-08-04 11:25:55 +02:00
opts Fix libnetwork imports 2021-06-01 21:51:23 +00:00
patches update archive/tar patch for go 1.16 2021-06-10 13:04:48 +02:00
pkg pkg/signal: remove DefaultStopSignal const 2021-08-11 10:31:29 +02:00
plugin if-return: redundant if ...; err != nil check (revive) 2021-06-10 13:03:40 +02:00
profiles Merge pull request #42649 from kinvolk/rata/seccomp-default-errno 2021-08-03 15:13:42 +02:00
project Remove a lot of outdated "project/PACKAGERS.md" text 2021-06-08 14:24:19 -07:00
quota replace uses of deprecated containerd/sys.RunningInUserNS() 2021-06-18 11:01:24 +02:00
reference
registry registry: remove const for 'Docker-Distribution-Api-Version' header 2021-06-24 22:08:28 +02:00
reports
restartmanager
rootless Merge pull request #41893 from AkihiroSuda/fix-41457 2021-04-06 14:30:40 +09:00
runconfig pkg/sysinfo.New(), daemon.RawSysInfo(): remove "quiet" argument 2021-07-14 23:10:07 +02:00
testutil Merge pull request #42393 from aiordache/daemon_config 2021-06-23 19:32:07 +02:00
vendor daemon,volume: share disk usage computations 2021-08-09 19:59:39 +02:00
volume daemon,volume: share disk usage computations 2021-08-09 19:59:39 +02:00
.DEREK.yml
.dockerignore
.gitignore
.mailmap Update AUTHORS and mailmap 2021-06-04 02:18:49 +02:00
AUTHORS Update AUTHORS and mailmap 2021-06-04 02:18:49 +02:00
CHANGELOG.md changelog: fix incorrectly named libnetwork label 2021-05-31 15:27:46 +02:00
CONTRIBUTING.md
Dockerfile Bump go 1.16.6 (addresses CVE-2021-34558) 2021-07-13 12:42:59 +02:00
Dockerfile.e2e Bump go 1.16.6 (addresses CVE-2021-34558) 2021-07-13 12:42:59 +02:00
Dockerfile.simple Bump go 1.16.6 (addresses CVE-2021-34558) 2021-07-13 12:42:59 +02:00
Dockerfile.windows Bump go 1.16.6 (addresses CVE-2021-34558) 2021-07-13 12:42:59 +02:00
Jenkinsfile Jenkinsfile: update Windows 2022 insider to latest tag (10.0.20348.1) 2021-08-09 17:57:42 +02:00
LICENSE
MAINTAINERS Add Samuel Karp as a maintainer 2021-05-20 12:54:40 -07:00
Makefile Makefile: update buildx version to v0.6.0 2021-07-20 00:58:13 +02:00
NOTICE
README.md
ROADMAP.md
SECURITY.md
TESTING.md
VENDORING.md
codecov.yml
poule.yml
vendor.conf Merge pull request #42697 from thaJeztah/update_containerd_1.5.5 2021-08-02 09:58:10 +02:00

README.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.