1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Sebastiaan van Stijn 3cb933db9d
Update uses of Image platform fields in OCI image-spec
The OCI image spec is considering to change the Image struct and embedding the
Platform type (see opencontainers/image-spec#959) in the go implementation.
Moby currently uses some struct-literals to propagate the platform fields,
which will break once those changes in the OCI spec are merged.

Ideally (once that change arrives) we would update the code to set the Platform
information as a whole, instead of assigning related fields individually, but
in some cases in the code, image platform information is only partially set
(for example, OSVersion and OSFeatures are not preserved in all cases). This
may be on purpose, so needs to be reviewed.

This patch keeps the current behavior (assigning only specific fields), but
removes the use of struct-literals to make the code compatible with the
upcoming changes in the image-spec module.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-10 12:09:06 +02:00
.github ci: fix .windows workflow name 2022-09-08 12:12:03 +02:00
api ImageService.GetImage(): pass context 2022-09-07 16:53:45 +02:00
builder Update uses of Image platform fields in OCI image-spec 2022-09-10 12:09:06 +02:00
cli
client
cmd
container
contrib
daemon Merge pull request from GHSA-rc4r-wh2q-q6c4 2022-09-08 21:29:35 +02:00
distribution
dockerversion
docs
errdefs
hack ci(test): send coverage to codecov 2022-09-08 12:12:03 +02:00
image
integration Merge pull request #44034 from crazy-max/gha-test 2022-09-08 15:56:42 +02:00
integration-cli Update some tests for supplementary group permissions 2022-09-08 23:27:59 +02:00
internal/test/suite
layer
libcontainerd
libnetwork Merge pull request #44090 from thaJeztah/fix_linting_issues 2022-09-07 14:27:03 -07:00
oci
opts linting: host:port in url should be constructed with net.JoinHostPort 2022-09-04 15:36:53 +02:00
pkg Merge pull request #44083 from thaJeztah/archive_cachebust 2022-09-07 21:28:40 +02:00
plugin
profiles
project
quota
reference
registry
reports
restartmanager
rootless
runconfig
testutil Merge pull request #44034 from crazy-max/gha-test 2022-09-08 15:56:42 +02:00
vendor Merge pull request #44072 from thaJeztah/bump_units 2022-09-08 16:53:32 +02:00
volume
.DEREK.yml
.dockerignore
.gitattributes
.gitignore
.mailmap
AUTHORS
CHANGELOG.md
codecov.yml
CONTRIBUTING.md
docker-bake.hcl ci: gha test workflow for integration and unit test 2022-09-07 22:52:34 +02:00
Dockerfile Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 2022-09-07 15:27:19 +02:00
Dockerfile.e2e Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 2022-09-07 15:27:19 +02:00
Dockerfile.simple Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 2022-09-07 15:27:19 +02:00
Dockerfile.windows Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 2022-09-07 15:27:19 +02:00
Jenkinsfile Jenkinsfile: remove steps moved to GitHub Actions 2022-09-08 16:41:43 +02:00
LICENSE
MAINTAINERS
Makefile ci(test): send coverage to codecov 2022-09-08 12:12:03 +02:00
NOTICE
README.md
ROADMAP.md
SECURITY.md
TESTING.md
vendor.mod Merge pull request #44072 from thaJeztah/bump_units 2022-09-08 16:53:32 +02:00
vendor.sum Merge pull request #44072 from thaJeztah/bump_units 2022-09-08 16:53:32 +02:00
VENDORING.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.