Repository navigation
docs: use more tables in run reference and minor fixups - #11239
Conversation
|
I'm planning on adding tables for the "Security configuration", PID Settings and IPC Settings sections. For PID and IPC settings, I wasn't sure what to call the default, and how to best describe it ("the container uses its own namespace"?). |
|
I presume I missed the PR where you noted why we can't use the markdown table markup for these kinds of 2 column tables. so LGTM - @docker/docs-owners |
|
@SvenDowideit yes, I'd prefered to use MD tables (they are easier to read in plain text); The problem I had with them was that wrapping inside table cells doesn't work, so many tables would be waaaaay over the 80-chars wrap. Also decided to keep consistent with the other tables. Open to suggestions though! |
|
LGTM |
|
Think this needs a rebase, because #11230 was merged; will do so tonight |
This adds two more tables to the run reference documentation. - the list of 'modes' for Network settings is now a table. - the "note" for `--net="host"` was moved from the list to the detailed description. - the 'options' for "Runtime constraints on CPU and memory" are now a table - slightly re-worded the description for "memory" options, e.g. "It is not allowed..." was rewriten to "The *container* is not allowed..." - fix example in "Runtime privilege, Linux capabilities, and LXC configuration" being indented twice - slightly reduced indenting in some `usage` output to be better readable. - fixes a typo `/ets/hosts` -> `/etc/hosts` Signed-off-by: Sebastiaan van Stijn <[email protected]>
f875557 to
37d856d
Compare
|
Rebased. Also fixed a typo and corrected |
|
LGTM |
docs: use more tables in run reference and minor fixups
_NOTE: this also requires the CSS in docs/base to be fixed (#11230)_
This adds two more tables to the run reference documentation.
--net="host"was moved from the list to the detaileddescription.
now a table
"It is not allowed..." was rewriten to "The container is not allowed..."
being indented twice
usageoutput to be better readable.