Last active
April 25, 2017 18:55
-
-
Save saneef/0957b11d59c1b9a358c7b552ee91c9e2 to your computer and use it in GitHub Desktop.
Output of `docker inspect logspout`
This file contains 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
[ | |
{ | |
"Id": "db42b8bf02160918ee1ec572544c5102b9ccd04e18b4c50d6558cf384a76cf4a", | |
"Created": "2017-04-25T18:53:01.838468755Z", | |
"Path": "/bin/logspout", | |
"Args": [ | |
"syslog+tls://logs-01.loggly.com:6514" | |
], | |
"State": { | |
"Status": "restarting", | |
"Running": true, | |
"Paused": false, | |
"Restarting": true, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 0, | |
"ExitCode": 1, | |
"Error": "", | |
"StartedAt": "2017-04-25T18:53:29.714547862Z", | |
"FinishedAt": "2017-04-25T18:53:29.801961219Z" | |
}, | |
"Image": "sha256:d04eef4042103e1d6a0a1d8ef9f3c7544d03be088b1854427a76bef52f89f40b", | |
"ResolvConfPath": "/var/lib/docker/containers/db42b8bf02160918ee1ec572544c5102b9ccd04e18b4c50d6558cf384a76cf4a/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/db42b8bf02160918ee1ec572544c5102b9ccd04e18b4c50d6558cf384a76cf4a/hostname", | |
"HostsPath": "/var/lib/docker/containers/db42b8bf02160918ee1ec572544c5102b9ccd04e18b4c50d6558cf384a76cf4a/hosts", | |
"LogPath": "/var/lib/docker/containers/db42b8bf02160918ee1ec572544c5102b9ccd04e18b4c50d6558cf384a76cf4a/db42b8bf02160918ee1ec572544c5102b9ccd04e18b4c50d6558cf384a76cf4a-json.log", | |
"Name": "/logspout", | |
"RestartCount": 9, | |
"Driver": "aufs", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": [ | |
"/var/run/docker.sock:/tmp/docker.sock" | |
], | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": { | |
"80/tcp": [ | |
{ | |
"HostIp": "127.0.0.1", | |
"HostPort": "18000" | |
} | |
] | |
}, | |
"RestartPolicy": { | |
"Name": "unless-stopped", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": [], | |
"DnsOptions": [], | |
"DnsSearch": [], | |
"ExtraHosts": null, | |
"GroupAdd": null, | |
"IpcMode": "", | |
"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": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": [], | |
"DiskQuota": 0, | |
"KernelMemory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": -1, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null, | |
"CpuCount": 0, | |
"CpuPercent": 0, | |
"IOMaximumIOps": 0, | |
"IOMaximumBandwidth": 0 | |
}, | |
"GraphDriver": { | |
"Name": "aufs", | |
"Data": null | |
}, | |
"Mounts": [ | |
{ | |
"Type": "bind", | |
"Source": "/var/run/docker.sock", | |
"Destination": "/tmp/docker.sock", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
}, | |
{ | |
"Type": "volume", | |
"Name": "c045bf090326b066c65020d414731e401dabc0ab4293ed2f09a32ce0ceb09e6f", | |
"Source": "/var/lib/docker/volumes/c045bf090326b066c65020d414731e401dabc0ab4293ed2f09a32ce0ceb09e6f/_data", | |
"Destination": "/mnt/routes", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
} | |
], | |
"Config": { | |
"Hostname": "db42b8bf0216", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"80/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"SYSLOG_STRUCTURED_DATA=[Removed-loggly-customer-token]@41058", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"Cmd": [ | |
"syslog+tls://logs-01.loggly.com:6514" | |
], | |
"Image": "gliderlabs/logspout:v3.1", | |
"Volumes": { | |
"/mnt/routes": {} | |
}, | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"/bin/logspout" | |
], | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "d7402883704a285e7846eb32a197cfa1dc72d70897e1e8e4266412dd6008e60a", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": null, | |
"SandboxKey": "/var/run/docker/netns/d7402883704a", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"MacAddress": "", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "f264e2bfc4bee26a63eeb40092aae8d2bb2bfbb9bb56452d4ec42f03b0e83f01", | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment