1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib
Cory Snider 098a44c07f Finish refactor of UID/GID usage to a new struct
Finish the refactor which was partially completed with commit
34536c498d, passing around IdentityMapping structs instead of pairs of
[]IDMap slices.

Existing code which uses []IDMap relies on zero-valued fields to be
valid, empty mappings. So in order to successfully finish the
refactoring without introducing bugs, their replacement therefore also
needs to have a useful zero value which represents an empty mapping.
Change IdentityMapping to be a pass-by-value type so that there are no
nil pointers to worry about.

The functionality provided by the deprecated NewIDMappingsFromMaps
function is required by unit tests to to construct arbitrary
IdentityMapping values. And the daemon will always need to access the
mappings to pass them to the Linux kernel. Accommodate these use cases
by exporting the struct fields instead. BuildKit currently depends on
the UIDs and GIDs methods so we cannot get rid of them yet.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2022-03-14 16:28:57 -04:00
..
apparmor AppArmor: add missing rules for running in userns 2019-09-30 16:17:13 +02:00
busybox Pin busybox to fixed version and verify sha256 2020-04-03 09:55:26 +02:00
docker-device-tool Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
gitdm run shfmt 2020-03-03 12:27:49 +09:00
httpserver Remove solaris files 2017-10-24 15:39:34 -04:00
init Ensure system clock was set 2021-12-24 16:08:53 +01:00
nnp-test Dockerfile: frozen images: update to bullseye, remove buildpack-dep 2021-08-20 18:23:06 +02:00
syntax Remove vim syntax files 2020-01-14 13:01:18 -04:00
syscall-test Dockerfile: frozen images: update to bullseye, remove buildpack-dep 2021-08-20 18:23:06 +02:00
udev
check-config.sh fix(check-config.sh): Check for existence of /etc/os-release before sourcing 2022-02-11 11:40:32 -07:00
dockerd-rootless-setuptool.sh docker-rootless-setuptools.sh: use context after install 2021-12-06 17:28:34 +11:00
dockerd-rootless.sh dockerd-rootless.sh: Fix variable not double quotes cause unexpected behavior 2021-10-18 00:11:03 +08:00
dockerize-disk.sh run shfmt 2020-03-03 12:27:49 +09:00
download-frozen-image-v2.sh all: fix typos 2022-03-01 14:26:35 +08:00
editorconfig added editorconfig 2016-10-20 22:18:16 -02:00
mac-install-bundle.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-alpine.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-arch-pacman.conf
mkimage-arch.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-archarm-pacman.conf Fixed arm arch image maker to support arm versions other than 7 2016-07-10 18:46:35 -07:00
mkimage-crux.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-pld.sh add script to make base image for PLD Linux 2016-05-31 09:20:51 +03:00
mkimage-yum.sh all: fix typos 2022-03-01 14:26:35 +08:00
nuke-graph-directory.sh Update contrib/nuke-graph-directory.sh 2021-04-09 10:05:35 +10:00
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.