mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
docs: fix incorrect output for "/info" endpoint
OomScoreAjd is not part of `/info` output Wrong field name `DiscoveryBackend` in API reference Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
722f06dae3
commit
9014ac2d15
3 changed files with 32 additions and 34 deletions
|
@ -1921,11 +1921,11 @@ Display system-wide information
|
|||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"ClusterStore": "etcd://localhost:2379",
|
||||
"Containers": 11,
|
||||
"CpuCfsPeriod": true,
|
||||
"CpuCfsQuota": true,
|
||||
"Debug": false,
|
||||
"DiscoveryBackend": "etcd://localhost:2379",
|
||||
"DockerRootDir": "/var/lib/docker",
|
||||
"Driver": "btrfs",
|
||||
"DriverStatus": [[""]],
|
||||
|
@ -1966,9 +1966,9 @@ Display system-wide information
|
|||
"127.0.0.0/8"
|
||||
]
|
||||
},
|
||||
"ServerVersion": "1.9.0",
|
||||
"SwapLimit": false,
|
||||
"SystemTime": "2015-03-10T11:11:23.730591467-07:00"
|
||||
"ServerVersion": "1.9.0"
|
||||
}
|
||||
|
||||
Status Codes:
|
||||
|
@ -2796,7 +2796,7 @@ JSON Parameters:
|
|||
|
||||
`POST /networks/(id)/connect`
|
||||
|
||||
Connects a container to a network
|
||||
Connect a container to a network
|
||||
|
||||
**Example request**:
|
||||
|
||||
|
@ -2827,7 +2827,7 @@ JSON Parameters:
|
|||
|
||||
`POST /networks/(id)/disconnect`
|
||||
|
||||
Disconnects a container from a network
|
||||
Disconnect a container from a network
|
||||
|
||||
**Example request**:
|
||||
|
||||
|
|
|
@ -2133,6 +2133,7 @@ Display system-wide information
|
|||
|
||||
{
|
||||
"Architecture": "x86_64",
|
||||
"ClusterStore": "etcd://localhost:2379",
|
||||
"Containers": 11,
|
||||
"ContainersRunning": 7,
|
||||
"ContainersStopped": 3,
|
||||
|
@ -2140,21 +2141,9 @@ Display system-wide information
|
|||
"CpuCfsPeriod": true,
|
||||
"CpuCfsQuota": true,
|
||||
"Debug": false,
|
||||
"DiscoveryBackend": "etcd://localhost:2379",
|
||||
"DockerRootDir": "/var/lib/docker",
|
||||
"Driver": "btrfs",
|
||||
"DriverStatus": [[""]],
|
||||
"SystemStatus": [["State", "Healthy"]],
|
||||
"Plugins": {
|
||||
"Volume": [
|
||||
"local"
|
||||
],
|
||||
"Network": [
|
||||
"null",
|
||||
"host",
|
||||
"bridge"
|
||||
]
|
||||
},
|
||||
"ExecutionDriver": "native-0.1",
|
||||
"ExperimentalBuild": false,
|
||||
"HttpProxy": "http://test:test@localhost:8080",
|
||||
|
@ -2179,8 +2168,17 @@ Display system-wide information
|
|||
"NoProxy": "9.81.1.160",
|
||||
"OomKillDisable": true,
|
||||
"OSType": "linux",
|
||||
"OomScoreAdj": 500,
|
||||
"OperatingSystem": "Boot2Docker",
|
||||
"Plugins": {
|
||||
"Volume": [
|
||||
"local"
|
||||
],
|
||||
"Network": [
|
||||
"null",
|
||||
"host",
|
||||
"bridge"
|
||||
]
|
||||
},
|
||||
"RegistryConfig": {
|
||||
"IndexConfigs": {
|
||||
"docker.io": {
|
||||
|
@ -2194,9 +2192,10 @@ Display system-wide information
|
|||
"127.0.0.0/8"
|
||||
]
|
||||
},
|
||||
"ServerVersion": "1.9.0",
|
||||
"SwapLimit": false,
|
||||
"SystemStatus": [["State", "Healthy"]],
|
||||
"SystemTime": "2015-03-10T11:11:23.730591467-07:00"
|
||||
"ServerVersion": "1.9.0"
|
||||
}
|
||||
|
||||
Status Codes:
|
||||
|
@ -3089,7 +3088,7 @@ JSON Parameters:
|
|||
|
||||
`POST /networks/(id)/connect`
|
||||
|
||||
Connects a container to a network
|
||||
Connect a container to a network
|
||||
|
||||
**Example request**:
|
||||
|
||||
|
@ -3126,7 +3125,7 @@ JSON Parameters:
|
|||
|
||||
`POST /networks/(id)/disconnect`
|
||||
|
||||
Disconnects a container from a network
|
||||
Disconnect a container from a network
|
||||
|
||||
**Example request**:
|
||||
|
||||
|
|
|
@ -2167,6 +2167,7 @@ Display system-wide information
|
|||
|
||||
{
|
||||
"Architecture": "x86_64",
|
||||
"ClusterStore": "etcd://localhost:2379",
|
||||
"CgroupDriver": "cgroupfs",
|
||||
"Containers": 11,
|
||||
"ContainersRunning": 7,
|
||||
|
@ -2175,21 +2176,9 @@ Display system-wide information
|
|||
"CpuCfsPeriod": true,
|
||||
"CpuCfsQuota": true,
|
||||
"Debug": false,
|
||||
"DiscoveryBackend": "etcd://localhost:2379",
|
||||
"DockerRootDir": "/var/lib/docker",
|
||||
"Driver": "btrfs",
|
||||
"DriverStatus": [[""]],
|
||||
"SystemStatus": [["State", "Healthy"]],
|
||||
"Plugins": {
|
||||
"Volume": [
|
||||
"local"
|
||||
],
|
||||
"Network": [
|
||||
"null",
|
||||
"host",
|
||||
"bridge"
|
||||
]
|
||||
},
|
||||
"ExecutionDriver": "native-0.1",
|
||||
"ExperimentalBuild": false,
|
||||
"HttpProxy": "http://test:test@localhost:8080",
|
||||
|
@ -2215,8 +2204,17 @@ Display system-wide information
|
|||
"NoProxy": "9.81.1.160",
|
||||
"OomKillDisable": true,
|
||||
"OSType": "linux",
|
||||
"OomScoreAdj": 500,
|
||||
"OperatingSystem": "Boot2Docker",
|
||||
"Plugins": {
|
||||
"Volume": [
|
||||
"local"
|
||||
],
|
||||
"Network": [
|
||||
"null",
|
||||
"host",
|
||||
"bridge"
|
||||
]
|
||||
},
|
||||
"RegistryConfig": {
|
||||
"IndexConfigs": {
|
||||
"docker.io": {
|
||||
|
@ -2230,9 +2228,10 @@ Display system-wide information
|
|||
"127.0.0.0/8"
|
||||
]
|
||||
},
|
||||
"ServerVersion": "1.9.0",
|
||||
"SwapLimit": false,
|
||||
"SystemStatus": [["State", "Healthy"]],
|
||||
"SystemTime": "2015-03-10T11:11:23.730591467-07:00"
|
||||
"ServerVersion": "1.9.0"
|
||||
}
|
||||
|
||||
Status Codes:
|
||||
|
|
Loading…
Add table
Reference in a new issue