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 58d862574c
fix parseInfoFile does not handle spaces in filenames
`/proc/self/mountinfo` uses `\040` for spaces, however, `parseInfoFile()`
did not decode those spaces in paths, therefore attempting to use `\040`
as a literal part of the path.

This patch un-quotes the `root` and `mount point` fields to fix
situations where paths contain spaces.

Note that the `mount source` field is not modified, given that
this field is documented (man `PROC(5)`) as:

    filesystem-specific information or "none"

Which I interpreted as "the format in this field is undefined".

Reported-by: Daniil Yaroslavtsev <daniilyar@users.noreply.github.com>
Reported-by: Nathan Ringo <remexre@gmail.com>
Based-on-patch-by: Diego Becciolini <itizir@users.noreply.github.com>
Based-on-patch-by: Sergei Utinski <sergei-utinski@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-02 13:09:26 +02:00
.github
api Merge pull request #38793 from thaJeztah/pids_limit_improvements 2019-03-21 13:44:05 -07:00
builder gitutils: add validation for ref 2019-03-26 22:05:46 +00:00
cli
client Merge pull request #38909 from thaJeztah/fix_version_override 2019-03-21 14:14:39 -07:00
cmd/dockerd Merge pull request #38541 from Microsoft/jjh/containerd 2019-03-19 21:09:19 -07:00
container Move EnableServiceDiscoveryOnDefaultNetwork to container-operations 2019-03-20 18:45:20 +01:00
contrib Default to Core group only if no groups specified 2019-03-29 20:21:33 +05:30
daemon Merge pull request #38945 from RenaudWasTaken/master 2019-04-01 11:07:05 -07:00
distribution *: remove interfacer linter from CI 2019-03-13 11:48:39 +11:00
dockerversion
docs Merge pull request #38898 from tonistiigi/build-outputs 2019-03-19 14:00:16 -07:00
errdefs errdefs: remove "ErrAlreadyExists" because it's not an error 2019-03-21 21:25:15 +00:00
hack Merge pull request #38853 from cyphar/integration-cli-ensureImage 2019-03-27 07:32:23 +01:00
image Merge pull request #38888 from quasilyte/fix_copying 2019-03-21 01:48:27 +01:00
integration Merge pull request #38871 from crosbymichael/exec-spec 2019-03-25 11:58:33 +08:00
integration-cli Merge pull request #38853 from cyphar/integration-cli-ensureImage 2019-03-27 07:32:23 +01:00
internal internal: test/env: switch to assert.TestingT 2019-03-13 11:48:40 +11:00
layer
libcontainerd Windows: Implement docker top for containerd 2019-03-12 18:41:55 -07:00
oci
opts
pkg fix parseInfoFile does not handle spaces in filenames 2019-04-02 13:09:26 +02:00
plugin Windows: Experimental: Allow containerd for runtime 2019-03-12 18:41:55 -07:00
profiles seccomp: whitelist io_pgetevents() 2019-03-18 20:46:16 +02:00
project
reference
registry *: remove interfacer linter from CI 2019-03-13 11:48:39 +11:00
reports
restartmanager
rootless
runconfig
vendor Merge pull request #38959 from Microsoft/jjh/bumphcsshim 2019-04-01 11:29:46 -07:00
volume
.DEREK.yml Update Derek behaviour 2019-02-28 11:20:18 +00:00
.dockerignore
.gitignore
.mailmap Update authors 2019-03-21 01:02:11 +01:00
AUTHORS Update authors 2019-03-21 01:02:11 +01:00
CHANGELOG.md
codecov.yml
CONTRIBUTING.md
Dockerfile Bump Golang to 1.12.1 2019-03-15 21:39:15 +01:00
Dockerfile.e2e Bump Golang to 1.12.1 2019-03-15 21:39:15 +01:00
Dockerfile.simple Bump Golang to 1.12.1 2019-03-15 21:39:15 +01:00
Dockerfile.windows Bump Golang to 1.12.1 2019-03-15 21:39:15 +01:00
Jenkinsfile Add Jenkinsfile 2019-02-26 20:03:29 +00:00
LICENSE
MAINTAINERS Add Kir as maintainer 2019-03-12 13:36:55 +01:00
Makefile Merge pull request #38847 from cpuguy83/enable_buildkit_for_build_target 2019-03-18 17:44:18 +01:00
NOTICE
poule.yml
README.md
ROADMAP.md
TESTING.md
vendor.conf Merge pull request #38959 from Microsoft/jjh/bumphcsshim 2019-04-01 11:29:46 -07: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.