Skip to content

[20.10 backport] assorted documentation fixes - #3523

Merged
silvin-lubecki merged 10 commits into
docker:20.10from
thaJeztah:20.10_backport_docs_fixes
Apr 14, 2022
Merged

[20.10 backport] assorted documentation fixes#3523
silvin-lubecki merged 10 commits into
docker:20.10from
thaJeztah:20.10_backport_docs_fixes

Conversation

ch33hauand others added 8 commits April 1, 2022 20:47
These options were added in 22cd418,
but did not update the documentation.
Signed-off-by: Chee Hau Lim <cheehau.lim@mobimeo.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7eb61e2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The `docker create` command shares most (all) of its options with `docker run`,
which uses `docker create` under the hood. The `docker create` reference docs
already referred users to the `docker run` sections for details, but some
flags were only documented on the `docker create` page.
This patch:
- moves those flags from the `docker create` to the `docker run` page
- does some minor rephrasing and touch-ups.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 6c16afe)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
(cherry picked from commit 41a5e0e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
(cherry picked from commit e5f5d94)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
(cherry picked from commit 119c7fb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Some new drivers were added to the "docker run" section to make the documentation more up to date.
Signed-off-by: d.alvarez <david.alvarez@flyeralarm.com>
(cherry picked from commit 040210b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7d4ae13)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 885f44a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This was introduced in 41a5e0e, and
having the trailing whitespace causes the yamldocs generator to
switch to "compact" formatting, which makes that yaml hard to read.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4b35192)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov-commenter

codecov-commenter commented Apr 1, 2022

Copy link
Copy Markdown

Codecov Report

Merging #3523 (4ae338b) into 20.10 (81d9655) will not change coverage.
The diff coverage is n/a.

❗ Current head 4ae338b differs from pull request most recent head 573a664. Consider uploading reports for the commit 573a664 to get more accurate results

@@ Coverage Diff @@## 20.10 #3523 +/- ##
=======================================
Coverage 58.57% 58.57% =======================================
Files 299 299 Lines 21457 21457 =======================================
Hits 12569 12569 Misses 7970 7970 Partials 918 918 

I didn't see where in the page that `--privileged` mode adds all capabilities.
I think this page once did contain that information. I got it from a Stack Overflow answer that seems to have copied from an earlier version of this same document.
> Full container capabilities (--privileged)
>
> The --privileged flag gives all capabilities to the container, and it also lifts all the limitations enforced by the device cgroup controller. In other words, the container can then do almost everything that the host can do. This flag exists to allow special use-cases, like running Docker within Docker.
https://stackoverflow.com/a/36441605/111424
Signed-off-by: Iain Samuel McLean Elder <iain@isme.es>
(cherry picked from commit 8b40837)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@silvin-lubecki
silvin-lubecki merged commit 26d9060 into docker:20.10Apr 14, 2022
@thaJeztah
thaJeztah deleted the 20.10_backport_docs_fixes branch April 14, 2022 14:14
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@thaJeztah@codecov-commenter@rumpl@silvin-lubecki@ch33hau@ndeloof@pzhlkj6612@StefanScherer@Busindre@iainelder