Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
Brian Goff 4669418731
Volume prune: only prune anonymous volumes by default
This adds a new filter argument to the volume prune endpoint "all".
When this is not set, or it is a false-y value, then only anonymous
volumes are considered for pruning.

When `all` is set to a truth-y value, you get the old behavior.

This is an API change, but I think one that is what most people would
want.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 618f26ccbc)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-05 23:50:01 +02:00
.github Update to go 1.19.2 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 2022-10-04 20:42:39 +02:00
api Volume prune: only prune anonymous volumes by default 2022-10-05 23:50:01 +02:00
builder replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +02:00
cli add instructions to generate events message table bin 2022-04-14 19:52:36 +02:00
client client: fix empty-lines (revive) 2022-10-01 00:01:13 +02:00
cmd cmd/dockerd: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
container state/Wait: Fix race when reading exit status 2022-07-29 16:49:56 +02:00
contrib contrib: make dockerd-rootless-setuptool.sh more robust 2022-09-29 10:03:30 +02:00
daemon Merge pull request #44237 from cpuguy83/22.06_fix_restore_volumerefs 2022-10-03 23:32:29 +02:00
distribution runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
dockerversion gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
docs Volume prune: only prune anonymous volumes by default 2022-10-05 23:50:01 +02:00
errdefs
hack Volume prune: only prune anonymous volumes by default 2022-10-05 23:50:01 +02:00
image runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
integration Volume prune: only prune anonymous volumes by default 2022-10-05 23:50:01 +02:00
integration-cli integration-cli: fix empty-lines (revive) 2022-09-30 23:59:29 +02:00
internal/test/suite
layer runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
libcontainerd libcontainerd: switch generated containerd.toml to v2 (v1 is deprecated) 2022-07-28 16:45:26 +02:00
libnetwork libnetwork/resolvconf: removed unused GetIfChanged() and GetLastModified() 2022-10-01 02:08:44 +02:00
oci runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
opts opts: fix empty-lines (revive) 2022-10-01 00:01:13 +02:00
pkg replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +02:00
plugin plugin: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
profiles seccomp: allow "bpf", "perf_event_open", gated by CAP_BPF, CAP_PERFMON 2022-08-18 18:36:49 +02:00
project project: Add label kind/regression 2022-06-30 15:08:02 +02:00
quota gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
reference
registry runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
reports
restartmanager
rootless rootless: remove redundant sync.Once 2022-04-25 13:53:32 +02:00
runconfig runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
testutil testutil: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
vendor replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +02:00
volume Volume prune: only prune anonymous volumes by default 2022-10-05 23:50:01 +02:00
.DEREK.yml
.dockerignore use go-winres for cross to create Windows resources 2022-04-14 19:52:35 +02:00
.gitattributes chore: fix linguist for Dockerfile 2022-04-27 06:38:41 +02:00
.gitignore use go-winres for windows build and cleanup autogen and winresources 2022-04-14 19:52:36 +02:00
.mailmap update AUTHORS and mailmap 2022-06-03 12:29:40 +02:00
AUTHORS update AUTHORS and mailmap 2022-06-03 12:29:40 +02:00
CHANGELOG.md
CONTRIBUTING.md
Dockerfile Update to go 1.19.2 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 2022-10-04 20:42:39 +02:00
Dockerfile.e2e Update to go 1.19.2 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 2022-10-04 20:42:39 +02:00
Dockerfile.simple Update to go 1.19.2 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 2022-10-04 20:42:39 +02:00
Dockerfile.windows Update to go 1.19.2 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 2022-10-04 20:42:39 +02:00
Jenkinsfile Jenkinsfile: use Ubuntu 20.04 for DCO stage 2022-09-26 19:56:46 +02:00
LICENSE
MAINTAINERS Add new people to the curators list 2022-06-23 16:14:04 +02:00
Makefile ci(test): validate job matrix 2022-09-16 19:53:19 +02:00
NOTICE
README.md
ROADMAP.md
SECURITY.md
TESTING.md
VENDORING.md
codecov.yml codecov: disable "patch" status 2022-06-07 17:24:46 +02:00
docker-bake.hcl ci: gha test workflow for integration and unit test 2022-09-08 13:50:18 +02:00
vendor.mod replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +02:00
vendor.sum replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +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.