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 5fee8bddfe
Use correct type for ContainerExecAttach
ContainerExecAttach used `types.ExecConfig` instead of `types.ExecStartCheck`,
which is the type that's expected by the `/exec/execid/start` API endpoint.

Investigating when this inconsistency was introduced, I found that the client has
sent the additional properties since its first imlpementation in
c786a8ee5e.

The `postContainerExecStart()` at that time used the "jobs" package, which
only took the information from the body that was needed (`Detach` and `Tty`).

Commit 24425021d2 refactored the Exec commands
to remove the "jobs", and introduced the `ExecStartCheck` type, but failed to
update the `cli.hijack()` call with the new type.

The change in this patch should not affect compatibility with older clients,
as the additional information from the `ExecConfig` type is not used (the
API server already decodes to the `ExecStartCheck` type).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-10-09 01:25:46 +02:00
.github Add myself to CODEOWNERS for integration suite. 2017-08-17 13:03:47 -04:00
api Add PortConfig.PublishMode to API documentation 2017-10-04 15:34:08 +02:00
builder Cleaning dead code out of the builder 2017-09-29 02:55:35 +02:00
cli
client Use correct type for ContainerExecAttach 2017-10-09 01:25:46 +02:00
cmd/dockerd Move RFC3339NanoFixed to a more appropriate package. 2017-09-25 16:07:24 -04:00
container Merge pull request #34929 from stevvooe/remove-promise-package 2017-09-22 11:52:23 -07:00
contrib Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
daemon Fix conflicting container name producint 400 error instead of 409 2017-10-04 20:39:45 +02:00
distribution Reworded push message 2017-09-29 17:02:20 +02:00
dockerversion
docs Bump API version to 1.34 2017-09-30 01:13:20 +02:00
hack Bump vndr to a6e196d8b4b0cbbdc29aebdb20c59ac6926bb384 2017-09-29 15:09:57 +02:00
image add Images testcase 2017-09-21 17:54:29 +08:00
integration Merge pull request #34358 from ripcurld0/fix_link_problem 2017-09-26 18:41:08 +02:00
integration-cli Use the first 12 characters of the ID to match the output of docker stats command 2017-10-04 13:43:00 -07:00
internal Docker EE integration test fixes 2017-09-25 18:09:19 +02:00
layer Merge pull request #34252 from Microsoft/akagup/lcow-remotefs-sandbox 2017-09-15 16:49:48 -07:00
libcontainerd Merge pull request #34846 from Microsoft/jjh/debuggcs 2017-09-19 22:33:46 +02:00
migrate/v1
oci Merge pull request #34356 from mlaventure/update-containerd 2017-08-24 14:25:44 -07:00
opts Merge pull request #34689 from chchliang/envunitest 2017-09-01 10:53:42 -07:00
pkg Merge pull request #35056 from tklauser/win-console-mode-consts 2017-10-05 00:41:22 +02:00
plugin Replace uses of filters.Include() with filters.Contains() 2017-09-26 13:39:56 +02:00
profiles Remove double defined alarm 2017-08-19 09:55:03 +02:00
project
reference Add gosimple linter 2017-09-12 12:09:59 -04:00
registry Merge pull request #34495 from ripcurld0/registry_mirror_json 2017-09-18 21:59:14 -07:00
reports
restartmanager
runconfig Volume refactoring for LCOW 2017-09-14 12:33:31 -07:00
vendor vendor: re-vendor github.com/Azure/go-ansiterm 2017-10-02 09:47:38 +02:00
volume Merge pull request #34792 from runcom/fix-relabel-symlinks 2017-09-27 17:42:23 +02:00
.dockerignore
.gitignore
.mailmap Update mailmap and authors 2017-10-04 14:44:24 +02:00
AUTHORS Update mailmap and authors 2017-10-04 14:44:24 +02:00
CHANGELOG.md Dropped hyphen in bind mount where appropriate 2017-08-19 21:25:07 +07:00
CONTRIBUTING.md Merge pull request #34407 from dnephin/add-TESTING-doc 2017-08-17 12:33:43 -07:00
Dockerfile Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.aarch64 Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.armhf Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.e2e Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.ppc64le Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.s390x Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.simple Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
Dockerfile.solaris
Dockerfile.windows Bump Go to 1.8.4 2017-10-04 23:22:23 +02:00
LICENSE
MAINTAINERS
Makefile Add a new entrypoint for CI 2017-09-20 17:26:30 -04:00
NOTICE
poule.yml
README.md
ROADMAP.md
TESTING.md
vendor.conf vendor: re-vendor github.com/Azure/go-ansiterm 2017-10-02 09:47:38 +02:00
VENDORING.md
VERSION

Docker users, see Moby and Docker to clarify the relationship between the projects

Docker maintainers and contributors, see Transitioning to Moby for more details

The Moby Project

Moby Project logo

Moby is an open-source project created by Docker to advance the software containerization movement. It provides a “Lego set” of dozens of components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.

Moby

Overview

At the core of Moby is a framework to assemble specialized container systems. It provides:

  • A library of containerized components for all vital aspects of a container system: OS, container runtime, orchestration, infrastructure management, networking, storage, security, build, image distribution, etc.
  • Tools to assemble the components into runnable artifacts for a variety of platforms and architectures: bare metal (both x86 and Arm); executables for Linux, Mac and Windows; VM images for popular cloud and virtualization providers.
  • A set of reference assemblies which can be used as-is, modified, or used as inspiration to create your own.

All Moby components are containers, so creating new components is as easy as building a new OCI-compatible container.

Principles

Moby is an open project guided by strong principles, but modular, flexible and without too strong an opinion on user experience, so it is open to the community to help set its direction. The guiding principles are:

  • 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 will provide secure defaults without compromising usability.
  • Container centric: Moby is built with containers, for running containers.

With Moby, you should be able to describe all the components of your distributed application, from the high-level configuration files down to the kernel you would like to use and build and deploy it easily.

Moby uses containerd as the default container runtime.

Audience

Moby is recommended for anyone who wants to assemble a container-based system. This includes:

  • Hackers who want to customize or patch their Docker build
  • System engineers or integrators building a container system
  • Infrastructure providers looking to adapt existing container systems to their environment
  • Container enthusiasts who want to experiment with the latest container tech
  • Open-source developers looking to test their project in a variety of different systems
  • Anyone curious about Docker internals and how its built

Moby is NOT recommended for:

  • Application developers looking for an easy way to run their applications in containers. We recommend Docker CE instead.
  • Enterprise IT and development teams looking for a ready-to-use, commercially supported container platform. We recommend Docker EE instead.
  • Anyone curious about containers and looking for an easy way to learn. We recommend the docker.com website instead.

Transitioning to Moby

Docker is transitioning all of its open source collaborations to the Moby project going forward. During the transition, all open source activity should continue as usual.

We are proposing the following list of changes:

  • splitting up the engine into more open components
  • removing the docker UI, SDK etc to keep them in the Docker org
  • clarifying that the project is not limited to the engine, but to the assembly of all the individual components of the Docker platform
  • open-source new tools & components which we currently use to assemble the Docker product, but could benefit the community
  • defining an open, community-centric governance inspired by the Fedora project (a very successful example of balancing the needs of the community with the constraints of the primary corporate sponsor)

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.