> #docker inspect в помощь Спасибки, там куча полезной инфы:
[
{
"Id": "45e6ccf57df49958e26dcd0cdf2b6710824bfa0e9fe2147ca9e41299182e7868",
"Created": "2018-12-08T09:13:52.140141957Z",
"Path": "/bin/start-pritunl",
"Args": [
"/usr/bin/tail",
"-f",
"/var/log/pritunl.log"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 6937,
"ExitCode": 0,
"Error": "",
"StartedAt": "2018-12-10T14:06:58.989980367Z",
"FinishedAt": "2018-12-10T14:06:53.664784378Z"
},
"Image": "sha256:8c23ad9101fd478e42e64c4fc244dd977b85c3d801c71e5775b71b93eb1a3222",
"ResolvConfPath": "/var/lib/docker/containers/45e6ccf57df49958e26dcd0cdf2b6710824bfa0e9fe2147ca9e41299182e7868/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/45e6ccf57df49958e26dcd0cdf2b6710824bfa0e9fe2147ca9e41299182e7868/hostname",
"HostsPath": "/var/lib/docker/containers/45e6ccf57df49958e26dcd0cdf2b6710824bfa0e9fe2147ca9e41299182e7868/hosts",
"LogPath": "/var/lib/docker/containers/45e6ccf57df49958e26dcd0cdf2b6710824bfa0e9fe2147ca9e41299182e7868/45e6ccf57df49958e26dcd0cdf2b6710824bfa0e9fe2147ca9e41299182e7868-json.log",
"Name": "/pritunl",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "unconfined",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host",
"PortBindings": {},
"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": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"label=disable"
],
"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": [],
"DeviceCgroupRules": null,
"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": {
"Data": null,
"Name": "aufs"
},
"Mounts": [],
"Config": {
"Hostname": "DCA0C03",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"1194/tcp": {},
"1195/tcp": {},
"9700/tcp": {}
},
"Tty": true,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/usr/bin/tail",
"-f",
"/var/log/pritunl.log"
],
"ArgsEscaped": true,
"Image": "andrey0001/pritunl",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/bin/start-pritunl"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "129d23d57ed08629a501f30446db2adaf773995dedfcf11f398f43b5001e36e1",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/default",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "303394098ae51d6188e667d2c4c89898c1901dffd092a3c6a2a7e96c4409c575",
"EndpointID": "9e8d924c9bf068d828adbff2dc84e8f7d0e3fba423c2c750c1be1f1bd797c709",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": ""
}
}
}
}
]