moby/contrib
Akihiro Suda 44f95c7126
dockerd-rootless.sh: avoid /run/xtables.lock EACCES on SELinux hosts
Previously, running dockerd-rootless.sh on SELinux-enabled hosts
was failing with "can't open lock file /run/xtables.lock: Permission denied" error.
(issue 41230).

This commit avoids hitting the error by relabeling /run in the RootlessKit child.
The actual /run on the parent is unaffected.

e6fc34b71a/libpod/networking_linux.go (L396-L401)

Tested on Fedora 34

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit cdaf82ba3f)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-07-06 18:57:38 +09: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 Fix some inefassign warnings 2019-09-18 12:57:29 +02: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 Revert "Add multi-user.target to After=" 2020-12-10 15:04:00 +01:00
nnp-test Upgrading the versions of images in Dockerfile. 2020-06-30 12:24:06 +08:00
syntax Remove vim syntax files 2020-01-14 13:01:18 -04:00
syscall-test Upgrading the versions of images in Dockerfile. 2020-06-30 12:24:06 +08:00
udev Add udev rules files for hiding the docker loopback devices from udisks 2013-12-02 09:11:06 -07:00
check-config.sh check-config.sh: add NETFILTER_XT_MARK 2021-02-23 19:25:47 +01:00
dockerd-rootless-setuptool.sh Merge pull request #42109 from AkihiroSuda/rootless-add-context-2010 2021-04-07 16:58:09 -07:00
dockerd-rootless.sh dockerd-rootless.sh: avoid /run/xtables.lock EACCES on SELinux hosts 2021-07-06 18:57:38 +09:00
dockerize-disk.sh run shfmt 2020-03-03 12:27:49 +09:00
download-frozen-image-v2.sh Allow download-frozen-images to work without go 2020-09-28 19:10:16 +00: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: provide and use own pacman.conf 2014-01-21 14:22:56 +01:00
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 run shfmt 2020-03-03 12:27:49 +09:00
nuke-graph-directory.sh run shfmt 2020-03-03 12:27:49 +09:00
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
report-issue.sh run shfmt 2020-03-03 12:27:49 +09: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.