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
Kir Kolyshkin 7da12bcfa9 devmapper_wrapper.go: fix gcc warning
I am getting the following warning from gcc when compiling the daemon:

> # github.com/docker/docker/pkg/devicemapper
> pkg/devicemapper/devmapper_wrapper.go: In function ‘log_cb’:
> pkg/devicemapper/devmapper_wrapper.go:20:2: warning: ignoring return
> value of ‘vasprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
>  vasprintf(&buffer, f, ap);
>  ^

vasprintf(3) man page says if the function returns -1, the buffer is
undefined, so we should not use it. In practice, I assume, this never
happens so we just return.

Introduced by https://github.com/moby/moby/pull/33845 that resulted in
commit 63328c6 ("devicemapper: remove 256 character limit of libdm logs")

Cc: Aleksa Sarai <asarai@suse.de>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2017-07-17 17:46:44 -07:00
.github
api add config event in swagger.yml 2017-07-12 08:48:14 +08:00
builder return prune data when context canceled 2017-07-10 10:06:24 +08:00
cli
client Merge pull request #33887 from thaJeztah/update-version-error 2017-07-12 15:24:00 +02:00
cmd/dockerd Windows: fix build after re-vendoring golang.org/x/sys 2017-07-12 14:52:42 +02:00
container container: Use wrapper to ensure commit/abort happens 2017-07-13 12:35:03 -07:00
contrib
daemon Merge pull request #33886 from aaronlehmann/names-in-memdb 2017-07-17 14:16:41 -04:00
distribution [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
dockerversion
docs Merge pull request #34065 from allencloud/add-cluster-events-change 2017-07-11 20:28:05 -07:00
hack Bump vndr to 9909bb2b8a0b7ea464527b376dc50389c90df587 2017-07-10 14:05:13 -07:00
image Fix multiple copy from 2017-07-12 12:36:03 -04:00
integration-cli Merge pull request #34027 from cpuguy83/15853_allow_stopping_paused_container 2017-07-13 10:16:46 +08:00
layer Merge pull request #33713 from x1022as/error_fd 2017-07-06 16:47:34 -07:00
libcontainerd [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
migrate/v1
oci
opts
pkg devmapper_wrapper.go: fix gcc warning 2017-07-17 17:46:44 -07:00
plugin [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
profiles [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
project
reference
registry
reports Add builder dev report for 2017-07-10 2017-07-13 09:30:13 -07:00
restartmanager
runconfig
vendor vendor: add archive/tar 2017-07-13 19:08:19 -07:00
volume
.dockerignore
.gitignore
.mailmap
AUTHORS
CHANGELOG.md
CONTRIBUTING.md
Dockerfile vendor: add archive/tar 2017-07-13 19:08:19 -07:00
Dockerfile.aarch64 archive: add test for prefix header 2017-07-14 10:20:48 -07:00
Dockerfile.armhf archive: add test for prefix header 2017-07-14 10:20:48 -07:00
Dockerfile.ppc64le archive: add test for prefix header 2017-07-14 10:20:48 -07:00
Dockerfile.s390x archive: add test for prefix header 2017-07-14 10:20:48 -07:00
Dockerfile.simple archive: add test for prefix header 2017-07-14 10:20:48 -07:00
Dockerfile.solaris
Dockerfile.windows
LICENSE
MAINTAINERS
Makefile
NOTICE
poule.yml
README.md
ROADMAP.md
vendor.conf vendor: add archive/tar 2017-07-13 19:08:19 -07: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.