Skip to contentSkip to conversation

Documentation: dev-tools: scripts/container prefers Podman

PATCH Applied Coiby Xu 3 participants 4 messages Jun 24 – Jun 30

Subsystems (3)
lore
Share & tools
lore

Coiby Xu

author
#0 lore raw

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
index 452415b64662..9e23f79d5ae1 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Coiby,

Quoted 23 lines · Coiby Xu

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 +1 -1
index 452415b64662..9e23f79d5ae1 100644
@@ -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

author
#2 lore raw
Quoted 1 line · Guillaume Tucker

Hi Coiby,

Hi Guillaume,

Quoted 38 lines · Coiby Xu
Quoted 23 lines

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 +1 -1
index 452415b64662..9e23f79d5ae1 100644
@@ -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

Thanks for taking time to reviewing the patch!

Quoted 4 lines

Thanks,
Guillaume

Signature · 2 lines
Best regards,
Coiby
maintainer Applied
#3 lore raw
In reply to Coiby Xu
Quoted 8 lines · Coiby Xu

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(-)

Applied, thanks.

jon