Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
Sebastiaan van Stijn aacb2960c9
update .dockerignore to prevent '-unsupported' builds
When building the daemon inside the development container,
without bind-mounting the source-code, the git status was
marked "dirty", because the `.dockerignore` and `Dockerfile`
were not copied into the image (due to them being excluded
by the .dockerignore):

```
make shell
hack/make.sh binary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GITCOMMIT = 98276a3439-unsupported
 The version you are building is listed as unsupported because
 there are some files in the git repository that are in an uncommitted state.
 Commit these changes, or add to .gitignore to remove the -unsupported from the version.
 Here is the current list:
 D .dockerignore
 D Dockerfile
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

This patch removes those files from .dockerignore so that the
git status is not marked "dirty".

Excluding the files through `.dockerignore` is only useful to
prevent busting the build-cache in corner-cases where the files
are modified without actual changes (e.g. whitespace-only changes,
comment edited), but should not be a big issue in practice.

With this patch applied:

```
make shell
hack/make.sh binary

Removing bundles/

---> Making bundle: binary (in bundles/binary)
Building: bundles/binary-daemon/dockerd-dev
GOOS="" GOARCH="" GOARM=""
Created binary: bundles/binary-daemon/dockerd-dev
Copying nested executables into bundles/binary-daemon

bundles/binary-daemon/dockerd-dev --version
Docker version dev, build 7812dd38c8
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-13 12:55:15 +01:00
.github Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
api Merge pull request #40341 from thaJeztah/restore_mount_options_info 2020-01-09 21:06:51 +01:00
builder Merge pull request #40247 from thaJeztah/pkg_system_consts 2019-12-19 11:35:00 -08:00
cli
client Merge pull request #40238 from Toasterson/patch-1 2019-12-12 21:11:29 +01:00
cmd/dockerd cgroup2: enable cgroup namespace by default 2020-01-01 02:58:40 +09:00
container Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
contrib AppArmor: add missing rules for running in userns 2019-09-30 16:17:13 +02:00
daemon prevent panic if TINI_COMMIT isn't set during build 2020-01-10 15:27:20 +01:00
distribution distribution: remove use of deprecated os.SEEK_END 2019-11-25 18:51:57 +01:00
dockerversion Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
docs docs/rootless.md: move to https://docs.docker.com/engine/security/rootless/ 2019-12-03 23:56:26 +09:00
errdefs
hack Merge pull request #40359 from thaJeztah/bump_vndr 2020-01-10 09:21:39 -08:00
image image: normalize comment formatting 2019-11-27 15:45:08 +01:00
integration Merge pull request #40309 from dperny/bump-swarmkit 2020-01-09 20:16:33 +01:00
integration-cli Merge pull request #40074 from yedamao/fix-integration-cli 2019-12-19 03:30:34 +09:00
internal/test/suite integration-cli: move each test suite to its own TestX testing function 2019-09-18 18:26:36 +00:00
layer Make sure that layers are removed from layerdb after succefull layer removal 2019-11-28 20:06:09 +02:00
libcontainerd cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
oci Move DefaultCapabilities() to caps package 2019-11-14 21:13:16 +02:00
opts Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
pkg cgroup2: enable resource limitation 2020-01-01 02:58:40 +09:00
plugin cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
profiles
project
reference Remove unused functions, variables, fields 2019-09-18 12:57:12 +02:00
registry Merge pull request #40263 from thaJeztah/normalize_comments 2019-12-12 12:06:22 -08:00
reports
restartmanager unconvert: remove unnescessary conversions 2019-09-18 12:57:33 +02:00
rootless
runconfig runconfig/config_test.go: remove unused test-utilities 2019-09-18 12:57:11 +02:00
testutil Remove unused GlobalFlags 2019-11-06 18:30:20 -05:00
vendor Bump swarmkit to 24fb4cfe8af56803640180c5592bf32da732ced2 2020-01-07 09:43:22 -06:00
volume Remove unused functions, variables, fields 2019-09-18 12:57:12 +02:00
.DEREK.yml
.dockerignore update .dockerignore to prevent '-unsupported' builds 2020-01-13 12:55:15 +01:00
.gitignore Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
.mailmap Update mailmap and authors 2019-09-30 19:12:18 +02:00
AUTHORS Update mailmap and authors 2019-09-30 19:12:18 +02:00
CHANGELOG.md
CONTRIBUTING.md
Dockerfile Dockerfile: use tmpfs for building registry, go-swagger 2020-01-10 15:31:14 +01:00
Dockerfile.buildx make buildx: update to buildx v0.3.1 2019-10-22 00:02:06 +02:00
Dockerfile.e2e Update Golang 1.13.5 2019-12-23 17:32:32 +01:00
Dockerfile.simple Update Golang 1.13.5 2019-12-23 17:32:32 +01:00
Dockerfile.windows Update Golang 1.13.5 2019-12-23 17:32:32 +01:00
Jenkinsfile Merge pull request #40050 from thaJeztah/ci_force_validate 2019-12-23 13:39:43 +01:00
LICENSE
MAINTAINERS Add myself as a curator 2020-01-09 15:03:38 -05:00
Makefile hack/validate: allow forcing validation 2019-12-19 18:03:55 +01:00
NOTICE
README.md
ROADMAP.md
SECURITY.md
TESTING.md
VENDORING.md
codecov.yml
poule.yml
vendor.conf Bump swarmkit to 24fb4cfe8af56803640180c5592bf32da732ced2 2020-01-07 09:43:22 -06: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.