The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Cory Snider d478e13639 libnet: un-plumb datastores from IPAM inits
The datastore arguments to the IPAM driver Init() functions are always
nil, even in Swarmkit. The only IPAM driver which consumed the
datastores was builtin; all others (null, remote, windowsipam) simply
ignored it. As the signatures of the IPAM driver init functions cannot
be changed without breaking the Swarmkit build, they have to be left
with the same signatures for the time being. Assert that nil datastores
are always passed into the builtin IPAM driver's init function so that
there is no ambiguity the datastores are no longer respected.

Add new Register functions for the IPAM drivers which are free from the
legacy baggage of the Init functions. (The legacy Init functions can be
removed once Swarmkit is migrated to using the Register functions.) As
the remote IPAM driver is the only one which depends on a PluginGetter,
pass it in explicitly as an argument to Register. The other IPAM drivers
should not be forced to depend on a GetPluginGetter() method they do not
use (Interface Segregation Principle).

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-01-27 11:47:42 -05:00
.github Dockerfile: smoke tests for static builds 2023-01-18 18:46:53 +01:00
api api/import: Guard from Digested instead of Canonical reference 2023-01-11 13:53:42 +01:00
builder Merge pull request #44818 from vvoland/c8d-commit-ctx-upstream 2023-01-18 15:17:52 +01:00
cli cli: remove cli/config package, integrate into cmd/dockerd 2022-12-14 12:52:40 +01:00
client Merge pull request #44182 from thaJeztah/subtests_TestNewClientWithOpsFromEnv 2022-12-27 13:12:50 +01:00
cmd cmd/dockerd: use default SIGQUIT behaviour 2023-01-10 17:11:54 -05:00
container Merge pull request #42264 from thaJeztah/update_the_update 2023-01-10 11:40:36 +01:00
contrib Dockerfile: variant support in frozen-images stage 2022-11-17 20:57:12 +01:00
daemon libnetwork: remove more datastore scope plumbing 2023-01-26 17:56:40 -05:00
distribution Remove reference to "requireRegistryMatch" 2023-01-05 11:28:22 -08:00
dockerversion IAmStatic not used anymore 2023-01-01 18:03:02 +01:00
docs docs: api: synchronise versioned API docs (v1.39 - v1.41) 2023-01-10 16:42:44 +01:00
errdefs errdefs: FromStatusCode() don't log "FIXME" debug message 2022-12-20 16:03:46 +01:00
hack Merge pull request #44853 from crazy-max/rm-install-suffix 2023-01-20 18:25:50 +01:00
image Merge pull request #43818 from thaJeztah/image_inspect 2023-01-06 17:40:15 +01:00
integration rootless: support --ipc=host 2023-01-21 01:00:27 +09:00
integration-cli integration-cli: Fix hanging TestLogsFollowGoroutines* 2023-01-05 18:10:32 +01:00
internal Add reusable chroot and unshare utilities 2022-10-26 12:06:31 -04:00
layer use errors.Is() to handle image store errors 2023-01-02 09:41:50 +01:00
libcontainerd libcontainerd/local: use strings.Cut() 2022-12-21 11:09:02 +01:00
libnetwork libnet: un-plumb datastores from IPAM inits 2023-01-27 11:47:42 -05:00
oci Merge pull request #44275 from thaJeztah/move_pkg_system_funcs 2022-12-16 15:25:41 +01:00
opts opts: use strings.Cut() and refactor parseDaemonHost() 2022-12-21 11:09:02 +01:00
pkg rootless: support --ipc=host 2023-01-21 01:00:27 +09:00
plugin plugins: Move GlobalSpecPaths into LocalRegistry 2023-01-10 21:33:49 +01:00
profiles seccomp: block socket calls to AF_VSOCK in default profile 2022-12-01 14:06:37 +01:00
project graphdriver/btrfs: needs kernel headers >= 4.12, not >= 4.7 2023-01-08 05:04:47 +09:00
quota gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
reference remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
registry c8d/resolver: Fallback to http for insecure registries 2023-01-11 17:00:27 +01:00
reports Fix typos 2018-05-16 09:15:43 +08:00
restartmanager restartmanager: remove RestartManager interface 2022-12-28 09:36:58 +01:00
runconfig hostconfig: move unit tests to api/types/container 2022-12-27 22:31:37 +01:00
testutil Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
vendor vendor: github.com/moby/swarmkit/v2 v2.0.0-20230119195359-904c221ac281 2023-01-19 23:36:45 +01:00
volume Fix volume CreatedAt being altered on initialization 2023-01-03 16:57:04 +01:00
.dockerignore ignorefiles: cleanup 2022-11-21 18:43:42 -07:00
.gitattributes chore: fix linguist for Dockerfile 2022-04-27 06:38:41 +02:00
.gitignore hack: introduce validate/no-module 2022-12-12 18:39:06 -07:00
.mailmap .mailmap: cleanup and additions 2022-11-30 12:05:31 +01:00
AUTHORS AUTHORS: regenerate 2022-11-30 12:05:31 +01:00
codecov.yml codecov: disable "patch" status 2022-06-07 17:24:46 +02:00
CONTRIBUTING.md CONTRIBUTING.md: drop reference to the Derek GitHub bot 2023-01-10 15:42:09 -07:00
docker-bake.hcl Dockerfile: smoke tests for static builds 2023-01-18 18:46:53 +01:00
Dockerfile Dockerfile: prefer ld for building against arm64 2023-01-19 16:34:34 +01:00
Dockerfile.e2e update to go1.19.5 2023-01-11 00:15:35 +01:00
Dockerfile.simple update to go1.19.5 2023-01-11 00:15:35 +01:00
Dockerfile.windows update to go1.19.5 2023-01-11 00:15:35 +01:00
Jenkinsfile Jenkinsfile: Fix dev image build fox ppc64le/s390x archs 2022-11-29 11:59:09 +01:00
LICENSE Update LICENSE 2018-09-12 14:27:53 +01:00
MAINTAINERS Add Bjorn Neergaard to maintainers 2022-12-06 21:26:03 +01:00
Makefile Dockerfile: rename dev stages 2023-01-01 18:03:03 +01:00
NOTICE switch kr/pty to creack/pty v1.1.7 2019-07-29 16:59:08 -07:00
README.md Fix grammar in README.md 2022-11-10 19:49:41 +00:00
ROADMAP.md Fix some typos in ROADMAP.md 2019-01-25 14:27:13 +08:00
SECURITY.md Update SECURITY.md to have an option to keep name anonymous if requested. 2019-06-18 16:37:16 +00:00
TESTING.md TESTING.md: note that integration-cli is deprecated 2020-12-18 07:51:46 +01:00
vendor.mod vendor: github.com/moby/swarmkit/v2 v2.0.0-20230119195359-904c221ac281 2023-01-19 23:36:45 +01:00
vendor.sum vendor: github.com/moby/swarmkit/v2 v2.0.0-20230119195359-904c221ac281 2023-01-19 23:36:45 +01: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 systems, 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.