engine/security/rootless: split to multiple pages ; remove outdated/duplicated info #23302
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://docs.docker.com/engine/security/rootless/ was too lengthy and giving a false sense that Rootless mode was quite clunky and hard to use, although actually it can be just set up in a single command:
Description
Commit 1:
engine/security/rootless: split to multiple pages
This commit only splits the page.
The content will be updated in subsequent commits.
Commit 2:
engine/security/rootless: remove outdated/duplicated info
Setup:
dockerd-rootless-setuptool.sh
has been improved to show help when the prerequisites are not satisfied.Users no longer need to read the lengthy "prerequisites" documentation unless they encounter issues.
The document had duplicated descriptions about dbus, uidmap, and machinectl stuffs in several places.
Graph drivers:
Rootless OverlayFS has been merged into the upstream since kernel 5.11:
torvalds/linux@459c7c5 .
Ubuntu no longer patches the kernel.
FUSE-OverlayFS is typically no longer needed on the current supported distros,
except EL 8.
SELinux:
CLI:
docker context use rootless
no longer needs to be executed manually,since Docker v23. (docker-rootless-setuptools.sh: use context after install moby/moby#43061)
Related issues or tickets
Reviews
Preview
https://deploy-preview-23302--docsdocker.netlify.app/engine/security/rootless/