Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
Paweł Gronowski e2bd8edb0d daemon/restart: Don't mutate AutoRemove when restarting
This caused a race condition where AutoRemove could be restored before
container was considered for restart and made autoremove containers
impossible to restart.

```
$ make DOCKER_GRAPHDRIVER=vfs BIND_DIR=. TEST_FILTER='TestContainerWithAutoRemoveCanBeRestarted' TESTFLAGS='-test.count 1' test-integration
...
=== RUN   TestContainerWithAutoRemoveCanBeRestarted
=== RUN   TestContainerWithAutoRemoveCanBeRestarted/kill
=== RUN   TestContainerWithAutoRemoveCanBeRestarted/stop
--- PASS: TestContainerWithAutoRemoveCanBeRestarted (1.61s)
    --- PASS: TestContainerWithAutoRemoveCanBeRestarted/kill (0.70s)
    --- PASS: TestContainerWithAutoRemoveCanBeRestarted/stop (0.86s)
PASS

DONE 3 tests in 3.062s
```

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2022-07-29 16:49:56 +02:00
.github update golang to 1.18.4 2022-07-13 22:37:32 +02:00
api gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
builder gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
cli
client Merge pull request #43808 from thaJeztah/22.06_backport_client_deadcode 2022-07-14 22:02:30 +02:00
cmd libcontainerd: switch generated containerd.toml to v2 (v1 is deprecated) 2022-07-28 16:45:26 +02:00
container gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
contrib
daemon daemon/restart: Don't mutate AutoRemove when restarting 2022-07-29 16:49:56 +02:00
distribution fix some minor linting issues 2022-07-04 10:15:28 +02:00
dockerversion gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
docs docs: add API v1.42 2022-07-13 22:49:14 +02:00
errdefs
hack Merge pull request #43764 from thaJeztah/build_no_checksums 2022-07-05 13:29:57 -07:00
image
integration integration: Add TestContainerWithAutoRemoveCanBeRestarted 2022-07-29 16:49:56 +02:00
integration-cli gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
internal/test/suite
layer layer: layerstore.Cleanup(): improve some logging 2022-06-21 13:34:03 +02:00
libcontainerd libcontainerd: switch generated containerd.toml to v2 (v1 is deprecated) 2022-07-28 16:45:26 +02:00
libnetwork Merge pull request #43813 from thaJeztah/22.06_backport_fix_43781 2022-07-18 09:48:12 +02:00
oci gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
opts
pkg fix formatting of "nolint" tags for go1.19 2022-07-15 13:45:13 +02:00
plugin gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
profiles profiles: seccomp: add syscalls related to PKU in default policy 2022-07-15 09:19:57 +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
reports
restartmanager
rootless
runconfig
testutil client: errors: remove dead code 2022-07-13 22:44:43 +02:00
vendor vendor.mod: group replace rules 2022-06-29 17:37:38 +02:00
volume fix formatting of "nolint" tags for go1.19 2022-07-15 13:45:13 +02:00
.DEREK.yml
.dockerignore
.gitattributes
.gitignore
.mailmap
AUTHORS
CHANGELOG.md
CONTRIBUTING.md
Dockerfile update golang to 1.18.4 2022-07-13 22:37:32 +02:00
Dockerfile.e2e update golang to 1.18.4 2022-07-13 22:37:32 +02:00
Dockerfile.simple update golang to 1.18.4 2022-07-13 22:37:32 +02:00
Dockerfile.windows update golang to 1.18.4 2022-07-13 22:37:32 +02:00
Jenkinsfile
LICENSE
MAINTAINERS Add new people to the curators list 2022-06-23 16:14:04 +02:00
Makefile
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
vendor.mod vendor.mod: group replace rules 2022-06-29 17:37:38 +02:00
vendor.sum vendor: github.com/hashicorp/go-msgpack v0.5.5 (indirect) 2022-06-29 16:49:01 +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.