API Docs state as a filter parameter whereas service method filters by instead.
How can I get the list of services running on a particular node or with instances running on a specific node?
{
"ID": "TZFE:3XXK:PYKN:NIYU:BEQF:YNPU:4LKC:WFFG:LJ52:4UGQ:WJXH:SWDS",
"Containers": 4,
"ContainersRunning": 4,
"ContainersPaused": 0,
"ContainersStopped": 0,
"Images": 23,
"Driver": "devicemapper",
"DriverStatus": [
[
"Pool Name",
"docker-253:0-752710-pool"
],
[
"Pool Blocksize",
"65.54 kB"
],
[
"Base Device Size",
"10.74 GB"
],
[
"Backing Filesystem",
"xfs"
],
[
"Data file",
"/dev/loop0"
],
[
"Metadata file",
"/dev/loop1"
],
[
"Data Space Used",
"7.089 GB"
],
[
"Data Space Total",
"107.4 GB"
],
[
"Data Space Available",
"100.3 GB"
],
[
"Metadata Space Used",
"9.732 MB"
],
[
"Metadata Space Total",
"2.147 GB"
],
[
"Metadata Space Available",
"2.138 GB"
],
[
"Thin Pool Minimum Free Space",
"10.74 GB"
],
[
"Udev Sync Supported",
"true"
],
[
"Deferred Removal Enabled",
"false"
],
[
"Deferred Deletion Enabled",
"false"
],
[
"Deferred Deleted Device Count",
"0"
],
[
"Data loop file",
"/var/lib/docker/devicemapper/devicemapper/data"
],
[
"Metadata loop file",
"/var/lib/docker/devicemapper/devicemapper/metadata"
],
[
"Library Version",
"1.02.107-RHEL7 (2016-06-09)"
]
],
"SystemStatus": null,
"Plugins": {
"Volume": [
"local"
],
"Network": [
"overlay",
"bridge",
"null",
"host"
],
"Authorization": null
},
"MemoryLimit": true,
"SwapLimit": true,
"KernelMemory": true,
"CpuCfsPeriod": true,
"CpuCfsQuota": true,
"CPUShares": true,
"CPUSet": true,
"IPv4Forwarding": true,
"BridgeNfIptables": true,
"BridgeNfIp6tables": false,
"Debug": false,
"NFd": 55,
"OomKillDisable": true,
"NGoroutines": 194,
"SystemTime": "2016-11-08T16:46:49.153754781+01:00",
"ExecutionDriver": "",
"LoggingDriver": "json-file",
"CgroupDriver": "cgroupfs",
"NEventsListener": 3,
"KernelVersion": "3.10.0-327.36.3.el7.x86_64",
"OperatingSystem": "CentOS Linux 7 (Core)",
"OSType": "linux",
"Architecture": "x86_64",
"IndexServerAddress": "https://index.docker.io/v1/",
"RegistryConfig": {
"InsecureRegistryCIDRs": [
"127.0.0.0/8"
],
"IndexConfigs": {
"docker.io": {
"Name": "docker.io",
"Mirrors": null,
"Secure": true,
"Official": true
}
},
"Mirrors": null
},
"NCPU": 4,
"MemTotal": 8118247424,
"DockerRootDir": "/var/lib/docker",
"HttpProxy": "",
"HttpsProxy": "",
"NoProxy": "",
"Name": "master",
"Labels": null,
"ExperimentalBuild": false,
"ServerVersion": "1.12.3",
"ClusterStore": "",
"ClusterAdvertise": "",
"SecurityOptions": [
"seccomp"
],
"Runtimes": {
"runc": {
"path": "docker-runc"
}
},
"DefaultRuntime": "runc",
"Swarm": {
"NodeID": "6hftixtprlhop5addjmo7qnxe",
"NodeAddr": "10.7.0.94",
"LocalNodeState": "active",
"ControlAvailable": true,
"Error": "",
"RemoteManagers": [
{
"NodeID": "6hftixtprlhop5addjmo7qnxe",
"Addr": "10.7.0.94:2377"
}
],
"Nodes": 2,
"Managers": 1,
"Cluster": {
"ID": "5lp9rqb6l7my0ek9jg21cwkf9",
"Version": {
"Index": 819
},
"CreatedAt": "2016-11-03T12:50:34.101987364Z",
"UpdatedAt": "2016-11-08T12:50:34.44261306Z",
"Spec": {
"Name": "default",
"Orchestration": {
"TaskHistoryRetentionLimit": 5
},
"Raft": {
"SnapshotInterval": 10000,
"LogEntriesForSlowFollowers": 500,
"HeartbeatTick": 1,
"ElectionTick": 3
},
"Dispatcher": {
"HeartbeatPeriod": 5000000000
},
"CAConfig": {
"NodeCertExpiry": 7776000000000000
},
"TaskDefaults": {}
}
}
},
"LiveRestoreEnabled": false
}
Description
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
API Docs state as a filter parameter whereas service method filters by instead.
How can I get the list of services running on a particular node or with instances running on a specific node?
Output of
docker version:Output of
docker info:Additional environment details (AWS, VirtualBox, physical, etc.):
Physical