diff options
author | Naja Melan <najamelan@autistici.org> | 2018-08-30 19:40:12 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-31 13:52:11 +0000 |
commit | 357eff7235fba45a99c79f68d9d995b7aa9df8d4 (patch) | |
tree | e2d79426bd82692357f8bdf877864988be86c561 /API.md | |
parent | a34d6b54fa8aa17c16b97ac6765bbe251522746d (diff) | |
download | podman-357eff7235fba45a99c79f68d9d995b7aa9df8d4.tar.gz podman-357eff7235fba45a99c79f68d9d995b7aa9df8d4.tar.bz2 podman-357eff7235fba45a99c79f68d9d995b7aa9df8d4.zip |
Make the documentation of user namespace options in podman-run clearer
This proposes a more comprehensible man page.
A number of things have been lost in translation and this should be reviewed:
- the former docs from --userns say that it is disabled by default. I
suppose that this is the same as --userns:host, but this should be confirmed.
It also stated that is would use options like pid=host, which confuses me
as pid namespaces are a totally different thing from user namespaces. It also
mentions the enabling of --privileged. I think the difference between using
--userns:host and not using any user namespace options at all is not clear
and maybe not very logical. Also what would be the difference between using
--userns:host and using --priveleged alone?
- I found the syntax for --gidmap at the bottom of the man page in the examples.
In the example it doesn't use '=', eg. podman run `--gidmap 0:30000:2000`.
For consistency with the other options I have used '=' for now, but if it is
optional, I would remove it everywhere, as less tokens is usually improved
readability. For now the inconsistency remains between the options doc and the
examples section.
- It wasn't very clear to me whether one should hard wrap long lines or not as the
contains a mix.
- I haven't for now looked at user namespace options on other commands, but
that should be done surely before merging.
- I didn't know which command to run to generate the groff, so that needs doing still.
from issue #1374
Signed-off-by: Naja Melan <najamelan@autistici.org>
Signed-off-by: Naja Melan <najamelan@autistici.org>
Closes: #1380
Approved by: rhatdan
Diffstat (limited to 'API.md')
0 files changed, 0 insertions, 0 deletions