The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Paweł Gronowski a4d5b6b4d0
builder/normalizeWorkdir: Always return cleaned path
The `normalizeWorkdir` function has two branches, one that returns a
result of `filepath.Join` which always returns a cleaned path, and
another one where the input string is returned unmodified.

To make these two outputs consistent, also clean the path in the second
branch.

This also makes the cleaning of the container workdir explicit in the
`normalizeWorkdir` function instead of relying on the
`SetupWorkingDirectory` to mutate it.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-04-19 12:42:19 +02:00
.devcontainer devcontainer: Use a separate devcontainer target 2024-03-07 20:39:56 +01:00
.github Merge pull request #47647 from vvoland/ci-backport-title 2024-04-08 19:15:37 +02:00
api daemon: don't call NetworkMode.IsDefault() 2024-03-28 12:35:47 +01:00
builder builder/normalizeWorkdir: Always return cleaned path 2024-04-19 12:42:19 +02:00
cli frozen images: update to debian:bookworm-slim 2023-11-30 12:01:06 +01:00
client client: fix connection-errors being shadowed by API version mismatch errors 2024-02-23 15:17:10 +01:00
cmd Be more explicit about non-TLS TCP access deprecation 2024-03-13 14:22:10 +01:00
container fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
contrib dockerd-rootless-setuptool.sh: check RootlessKit functionality 2024-03-06 07:43:00 +09:00
daemon Merge pull request #47719 from thaJeztah/vendor_runtime_spec 2024-04-16 11:50:50 +02:00
distribution distribution/xfer: fix pull progress message 2024-02-29 14:02:55 +01:00
dockerversion dockerversion: DockerUserAgent(): allow custom versions to be passed 2023-06-01 18:21:58 +02:00
docs api: document changed behavior of the Aliases field in v1.45 2024-03-20 08:23:48 -06:00
errdefs feat: make errdefs.IsXXX helper functions work with wrapped errors 2024-01-05 22:54:13 +08:00
hack update containerd binary to v1.7.15 2024-04-08 13:01:28 +02:00
image save: Remove platform from config descriptor 2024-04-02 17:15:52 +00:00
integration Disable IPv6 for endpoints in '--ipv6=false' networks. 2024-04-10 17:11:20 +01:00
integration-cli builder/normalizeWorkdir: Always return cleaned path 2024-04-19 12:42:19 +02:00
internal c8d/list: Add a test case for images sharing a top layer 2024-03-20 13:17:56 +01:00
layer layer: ChecksumForGraphID: remove unused code for for migrating v1 layers 2024-01-08 12:28:41 +01:00
libcontainerd libcontainerd: change the digest used when restoring 2024-02-27 20:17:31 +08:00
libnetwork Merge pull request from GHSA-x84c-p2g9-rqv9 2024-04-18 17:50:35 +02:00
oci daemon: set libnetwork sandbox key w/o OCI hook 2024-01-19 20:23:12 +00:00
opts opts: ValidateIPAddress: improve error, godoc, and tests 2023-11-11 15:31:19 +01:00
pkg Minor fix for illumos support 2024-04-03 15:58:27 +02:00
plugin plugin: fix mounting /etc/hosts when running in UserNS 2024-03-15 22:16:34 +09:00
profiles chore: fix mismatched function names in godoc 2024-03-22 16:24:31 +08:00
project Remove 'VERSION' from the text 2024-02-04 11:59:03 +08:00
quota fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
reference migrate to new github.com/distribution/reference module 2023-09-05 12:09:26 +02:00
registry api/search: Reset is_automated field to false 2024-03-04 10:15:59 +01:00
reports Fix typos 2018-05-16 09:15:43 +08:00
restartmanager fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
runconfig api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
testutil api/types: move image options to api/types/image 2024-01-24 00:10:33 +01:00
vendor Update tags.cncf.io/container-device-interface to v0.7.1 2024-04-16 12:06:23 +02:00
volume volume: Don't decrement refcount below 0 2024-03-07 20:42:20 +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
.golangci.yml Merge pull request #47443 from corhere/cnmallocator/lift-n-shift 2024-03-21 12:29:46 -07:00
.mailmap AUTHORS,.mailmap: update with recent contributors 2024-03-21 07:34:37 -06:00
AUTHORS AUTHORS,.mailmap: update with recent contributors 2024-03-21 07:34:37 -06:00
codecov.yml codecov: disable "patch" status 2022-06-07 17:24:46 +02:00
CONTRIBUTING.md CONTRIBUTING.md: update Slack link 2024-03-28 09:37:18 +01:00
docker-bake.hcl Dockerfile: remove APT_MIRROR build-arg 2023-12-04 13:52:58 +01:00
Dockerfile update containerd binary to v1.7.15 2024-04-08 13:01:28 +02:00
Dockerfile.simple update to go1.21.9 2024-04-04 10:13:50 +02:00
Dockerfile.windows update containerd binary to v1.7.15 2024-04-08 13:01:28 +02:00
Jenkinsfile remove s390x and ppc64ls pipelines 2023-08-14 16:54:44 +02:00
LICENSE Update LICENSE 2018-09-12 14:27:53 +01:00
MAINTAINERS Add Rob Murray (robmry) to curators 2024-01-09 13:20:44 +01:00
Makefile Makefile: generate-files: fix check for empty TMP_OUT 2024-03-15 17:54:54 +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 Update tags.cncf.io/container-device-interface to v0.7.1 2024-04-16 12:06:23 +02:00
vendor.sum Update tags.cncf.io/container-device-interface to v0.7.1 2024-04-16 12:06:23 +02: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.