Explorar el Código

docs: update for new secopts struct in GET /info

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Antonio Murdaca hace 8 años
padre
commit
e6ec90608c

+ 1 - 0
docs/reference/api/docker_remote_api.md

@@ -165,6 +165,7 @@ This section lists each version from latest to oldest.  Each listing includes a
 * The `SecurityOptions` field within the `GET /info` response now includes `userns` if user namespaces are enabled in the daemon.
 * `GET /nodes` and `GET /node/(id or name)` now return `Addr` as part of a node's `Status`, which is the address that that node connects to the manager from.
 * The `HostConfig` field now includes `NanoCPUs` that represents CPU quota in units of 10<sup>-9</sup> CPUs.
+* `GET /info` now returns more structured information about security options.
 
 ### v1.24 API changes
 

+ 20 - 4
docs/reference/api/docker_remote_api_v1.25.md

@@ -2509,10 +2509,26 @@ Display system-wide information
             ]
         },
         "SecurityOptions": [
-            "apparmor",
-            "seccomp",
-            "selinux",
-            "userns"
+            {
+                "Key": "Name",
+                "Value": "seccomp"
+            },
+            {
+                "Key": "Profile",
+                "Value": "default"
+            },
+            {
+                "Key": "Name",
+                "Value": "apparmor"
+            },
+            {
+                "Key": "Name",
+                "Value": "selinux"
+            },
+            {
+                "Key": "Name",
+                "Value": "userns"
+            }
         ],
         "ServerVersion": "1.9.0",
         "SwapLimit": false,