File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -1516,18 +1516,20 @@ Returns information about the docker instance.
1516
1516
1517
1517
** Returned data:**
1518
1518
1519
- key | type | description
1520
- -- | -- | --
1521
- version | string | The version of the docker engine
1522
- storage | string | The storage type
1523
- logging | string | The logging type
1524
- registries | dictionary | A dictionary of dictionaries containing ` username ` and ` password ` keys for registries.
1519
+ | key | type | description |
1520
+ | ----------- | ------ | ---------------------------------- |
1521
+ | version | string | The version of the docker engine |
1522
+ | enable_ipv6 | bool | Enable/Disable IPv6 for containers |
1523
+ | storage | string | The storage type |
1524
+ | logging | string | The logging type |
1525
+ | registries | dictionary | A dictionary of dictionaries containing ` username ` and ` password ` keys for registries. |
1525
1526
1526
1527
** Example response:**
1527
1528
1528
1529
``` json
1529
1530
{
1530
1531
"version" : " 1.0.1" ,
1532
+ "enable_ipv6" : true ,
1531
1533
"storage" : " overlay2" ,
1532
1534
"logging" : " journald" ,
1533
1535
"registries" : {}
@@ -1536,6 +1538,19 @@ registries | dictionary | A dictionary of dictionaries containing `username` and
1536
1538
1537
1539
</ApiEndpoint >
1538
1540
1541
+ <ApiEndpoint path =" /docker/options " method =" post " >
1542
+ Set docker options
1543
+
1544
+ ** Payload:**
1545
+
1546
+ | key | type | optional | description |
1547
+ | ----------- | ---- | -------- | ---------------------------------- |
1548
+ | enable_ipv6 | bool | True | Enable/Disable IPv6 for containers |
1549
+
1550
+ ** You need to supply at least one key in the payload.**
1551
+
1552
+ </ApiEndpoint >
1553
+
1539
1554
<ApiEndpoint path =" /docker/registries " method =" get " >
1540
1555
Get all configured container registries, this returns a dict with the registry hostname as the key, and a dictionary containing the username configured for that registry.
1541
1556
You can’t perform that action at this time.
0 commit comments