Documentation: dev-tools: scripts/container prefers Podman
Subsystems (3)
PATCH 1/1 Documentation: dev-tools: scripts/container prefers Podman
Obviously scripts/container prefers Podman over Docker. Putting podman before docker also makes it consistent with following parts of the doc and the help text of the tool.
--- Documentation/dev-tools/container.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/dev-tools/container.rst +3 -3
@@ -40,7 +40,7 @@ Available options: ``-r, --runtime RUNTIME`` - Container runtime name. Supported runtimes: ``docker``, ``podman``. + Container runtime name. Supported runtimes: ``podman``, ``docker``. If not specified, the first one found on the system will be used i.e. Podman if present, otherwise Docker.
@@ -75,8 +75,8 @@ working directory and adjust the user and group id as needed. The container image which would typically include a compiler toolchain is provided by the user and selected via the ``-i`` option. The container runtime -can be selected with the ``-r`` option, which can be either ``docker`` or -``podman``. If none is specified, the first one found on the system will be +can be selected with the ``-r`` option, which can be either ``podman`` or +``docker``. If none is specified, the first one found on the system will be used while giving priority to Podman. Support for other runtimes may be added later depending on their popularity among users.
Signature · 1 line
2.54.0
Hi Coiby,
Quoted 23 lines · Coiby Xu
Obviously
scripts/containerprefers Podman over Docker. Putting podman before docker also makes it consistent with following parts of the doc and the help text of the tool.Signed-off-by Coiby Xu <[email protected]>--- Documentation/dev-tools/container.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/dev-tools/container.rst +1
-1@@ -40,7 +40,7 @@ Available options: ``-r, --runtime RUNTIME`` - Container runtime name. Supported runtimes: ``docker``, ``podman``. + Container runtime name. Supported runtimes: ``podman``, ``docker``. If not specified, the first one found on the system will be used i.e. Podman if present, otherwise Docker.
Documentation/dev-tools/container.rst working directory and adjust the user and group id as needed. · line 82
Quoted 10 lines
Documentation/dev-tools/container.rst +2
-2@@ -75,8 +75,8 @@ working directory and adjust the user and group id as needed. The container image which would typically include a compiler toolchain is provided by the user and selected via the ``-i`` option. The container runtime -can be selected with the ``-r`` option, which can be either ``docker`` or -``podman``. If none is specified, the first one found on the system will be +can be selected with the ``-r`` option, which can be either ``podman`` or +``docker``. If none is specified, the first one found on the system will be used while giving priority to Podman. Support for other runtimes may be added later depending on their popularity among users.
It's a very subtle tweak but it does help avoid some confusion.
Thanks,
Guillaume
Quoted 1 line · Guillaume Tucker
Hi Coiby,
Hi Guillaume,
Quoted 38 lines · Coiby Xu
Quoted 23 lines
Obviously
scripts/containerprefers Podman over Docker. Putting podman before docker also makes it consistent with following parts of the doc and the help text of the tool.Signed-off-by Coiby Xu <[email protected]>--- Documentation/dev-tools/container.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/dev-tools/container.rst +1
-1@@ -40,7 +40,7 @@ Available options: ``-r, --runtime RUNTIME`` - Container runtime name. Supported runtimes: ``docker``, ``podman``. + Container runtime name. Supported runtimes: ``podman``, ``docker``. If not specified, the first one found on the system will be used i.e. Podman if present, otherwise Docker.Documentation/dev-tools/container.rst working directory and adjust the user and group id as needed. · line 82
Quoted 10 lines
Documentation/dev-tools/container.rst +2
-2@@ -75,8 +75,8 @@ working directory and adjust the user and group id as needed. The container image which would typically include a compiler toolchain is provided by the user and selected via the ``-i`` option. The container runtime -can be selected with the ``-r`` option, which can be either ``docker`` or -``podman``. If none is specified, the first one found on the system will be +can be selected with the ``-r`` option, which can be either ``podman`` or +``docker``. If none is specified, the first one found on the system will be used while giving priority to Podman. Support for other runtimes may be added later depending on their popularity among users.It's a very subtle tweak but it does help avoid some confusion.
Quoted 1 line
Reviewed-by Guillaume Tucker <[email protected]>
Thanks for taking time to reviewing the patch!
Quoted 4 lines
Thanks,
Guillaume
Signature · 2 lines
Best regards, Coiby
Quoted 8 lines · Coiby Xu
Obviously
scripts/containerprefers Podman over Docker. Putting podman before docker also makes it consistent with following parts of the doc and the help text of the tool.Signed-off-by Coiby Xu <[email protected]>--- Documentation/dev-tools/container.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
jon