Created
July 30, 2019 12:26
-
-
Save PavelNiedoba/80661caa3d6715b624787c7ab60e6692 to your computer and use it in GitHub Desktop.
output from docker inspect test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
see https://stackoverflow.com/posts/57269465 | |
docker inspect test | |
[ | |
{ | |
"Id": "f5d3c274e31cde28e7b61123bef348ed2ca66cc904dbe08265ee337099ac4ee0", | |
"Created": "2019-07-30T12:22:53.028182998Z", | |
"Path": "bash", | |
"Args": [], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 3376, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2019-07-30T12:22:53.980507545Z", | |
"FinishedAt": "0001-01-01T00:00:00Z" | |
}, | |
"Image": "sha256:3556258649b2ef23a41812be17377d32f568ed9f45150a26466d2ea26d926c32", | |
"ResolvConfPath": "/var/lib/docker/containers/f5d3c274e31cde28e7b61123bef348ed2ca66cc904dbe08265ee337099ac4ee0/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/f5d3c274e31cde28e7b61123bef348ed2ca66cc904dbe08265ee337099ac4ee0/hostname", | |
"HostsPath": "/var/lib/docker/containers/f5d3c274e31cde28e7b61123bef348ed2ca66cc904dbe08265ee337099ac4ee0/hosts", | |
"LogPath": "/var/lib/docker/containers/f5d3c274e31cde28e7b61123bef348ed2ca66cc904dbe08265ee337099ac4ee0/f5d3c274e31cde28e7b61123bef348ed2ca66cc904dbe08265ee337099ac4ee0-json.log", | |
"Name": "/test", | |
"RestartCount": 0, | |
"Driver": "overlay2", | |
"Platform": "linux", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "docker-default", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": null, | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": {}, | |
"RestartPolicy": { | |
"Name": "no", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": true, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": [], | |
"DnsOptions": [], | |
"DnsSearch": [], | |
"ExtraHosts": null, | |
"GroupAdd": null, | |
"IpcMode": "shareable", | |
"Cgroup": "", | |
"Links": null, | |
"OomScoreAdj": 0, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": null, | |
"UTSMode": "", | |
"UsernsMode": "", | |
"ShmSize": 67108864, | |
"Runtime": "runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 0, | |
"Memory": 0, | |
"NanoCpus": 0, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": [], | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": [], | |
"DeviceCgroupRules": null, | |
"DiskQuota": 0, | |
"KernelMemory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": null, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null, | |
"CpuCount": 0, | |
"CpuPercent": 0, | |
"IOMaximumIOps": 0, | |
"IOMaximumBandwidth": 0, | |
"MaskedPaths": [ | |
"/proc/asound", | |
"/proc/acpi", | |
"/proc/kcore", | |
"/proc/keys", | |
"/proc/latency_stats", | |
"/proc/timer_list", | |
"/proc/timer_stats", | |
"/proc/sched_debug", | |
"/proc/scsi", | |
"/sys/firmware" | |
], | |
"ReadonlyPaths": [ | |
"/proc/bus", | |
"/proc/fs", | |
"/proc/irq", | |
"/proc/sys", | |
"/proc/sysrq-trigger" | |
] | |
}, | |
"GraphDriver": { | |
"Data": { | |
"LowerDir": "/var/lib/docker/overlay2/b08966e86f34a525dea2f44a8650881819a233a7ca8970e5384576d3a46ba997-init/diff:/var/lib/docker/overlay2/fedb8499d9b794b2f3813508738a2ea6df8de1c83bf90f580b9999306034ca50/diff:/var/lib/docker/overlay2/36a99a551ce8dec045556444e37966807cb6b66f1a27190403c1c97c19ebdf3d/diff:/var/lib/docker/overlay2/9827f77ac4cab45f9eef00a3739d2dcbe26e198b73664627f9e44d0dac8619ee/diff:/var/lib/docker/overlay2/ab3818f85af4520c1a6cdc354cb8f1f5cceaa660b7fbc116638e597ea5b9ed64/diff", | |
"MergedDir": "/var/lib/docker/overlay2/b08966e86f34a525dea2f44a8650881819a233a7ca8970e5384576d3a46ba997/merged", | |
"UpperDir": "/var/lib/docker/overlay2/b08966e86f34a525dea2f44a8650881819a233a7ca8970e5384576d3a46ba997/diff", | |
"WorkDir": "/var/lib/docker/overlay2/b08966e86f34a525dea2f44a8650881819a233a7ca8970e5384576d3a46ba997/work" | |
}, | |
"Name": "overlay2" | |
}, | |
"Mounts": [], | |
"Config": { | |
"Hostname": "f5d3c274e31c", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"Tty": true, | |
"OpenStdin": true, | |
"StdinOnce": false, | |
"Env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"Cmd": [ | |
"bash" | |
], | |
"Image": "ubuntu", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": null, | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "41c8588eb0ce681cdd0737ba4ed140032821ee9bed1fbc7eef9fb7bb0c610e65", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": {}, | |
"SandboxKey": "/var/run/docker/netns/41c8588eb0ce", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "ae33fdcfb618ad864b956605e1482df009e51914b14b99829c49340641ecbdd0", | |
"Gateway": "172.17.0.1", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "172.17.0.2", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"MacAddress": "02:42:ac:11:00:02", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "a2fb522dbf35f0668bc57dba2b589537d64fa464afb29da595465fd90dc05b4b", | |
"EndpointID": "ae33fdcfb618ad864b956605e1482df009e51914b14b99829c49340641ecbdd0", | |
"Gateway": "172.17.0.1", | |
"IPAddress": "172.17.0.2", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:11:00:02", | |
"DriverOpts": null | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment