瀏覽代碼

Merge pull request #27440 from lixiaobing10051267/masterVolume

fix wrong output title for docker volume ls
Kenfe-Mickaël Laventure 8 年之前
父節點
當前提交
0268efc48b
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      docs/extend/index.md
  2. 3 3
      docs/reference/commandline/volume_ls.md

+ 1 - 1
docs/extend/index.md

@@ -97,7 +97,7 @@ started without error.
     ```bash
     $ docker volume ls
 
-    DRIVER              NAME
+    DRIVER              VOLUME NAME
     vieux/sshfs         sshvolume
     ```
 

+ 3 - 3
docs/reference/commandline/volume_ls.md

@@ -99,7 +99,7 @@ regardless of its value.
 ```bash
 $ docker volume ls --filter label=is-timelord
 
-DRIVER              NAME
+DRIVER              VOLUME NAME
 local               daleks
 local               the-doctor
 ```
@@ -112,7 +112,7 @@ Filtering on both `key` *and* `value` of the label, produces the expected result
 ```bash
 $ docker volume ls --filter label=is-timelord=yes
 
-DRIVER              NAME
+DRIVER              VOLUME NAME
 local               the-doctor
 ```
 
@@ -122,7 +122,7 @@ should be met;
 ```bash
 $ docker volume ls --filter label=is-timelord=yes --filter label=is-timelord=no
 
-DRIVER              NAME
+DRIVER              VOLUME NAME
 ```
 
 ### name