Created
May 6, 2020 17:36
-
-
Save LlorandoLau/74cddfa6b3ae71e2653f43725d7ed84e to your computer and use it in GitHub Desktop.
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
PS E:\github\ftgo-application> docker inspect ftgo-application_ftgo-restaurant-service_1 | |
[ | |
{ | |
"Id": "1de328562bad6da05a735aeb6b8f4b671c3329c5f5a25e229bbb84c9325d4041", | |
"Created": "2020-05-06T04:03:09.607576043Z", | |
"Path": "/bin/sh", | |
"Args": [ | |
"-c", | |
"java ${JAVA_OPTS} -jar ftgo-restaurant-service.jar" | |
], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 4988, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2020-05-06T17:21:03.882885351Z", | |
"FinishedAt": "2020-05-06T15:49:09.442265493Z", | |
"Health": { | |
"Status": "unhealthy", | |
"FailingStreak": 13, | |
"Log": [ | |
{ | |
"Start": "2020-05-06T17:22:30.140836504Z", | |
"End": "2020-05-06T17:22:31.6992922Z", | |
"ExitCode": 1, | |
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 8080: Connection refused\n" | |
}, | |
{ | |
"Start": "2020-05-06T17:22:36.717497928Z", | |
"End": "2020-05-06T17:22:37.654054147Z", | |
"ExitCode": 1, | |
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 8080: Connection refused\n" | |
}, | |
{ | |
"Start": "2020-05-06T17:22:42.672477879Z", | |
"End": "2020-05-06T17:22:43.76098427Z", | |
"ExitCode": 1, | |
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 8080: Connection refused\n" | |
}, | |
{ | |
"Start": "2020-05-06T17:22:48.782577209Z", | |
"End": "2020-05-06T17:22:49.827942112Z", | |
"ExitCode": 1, | |
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 8080: Connection refused\n" | |
}, | |
{ | |
"Start": "2020-05-06T17:22:54.854842864Z", | |
"End": "2020-05-06T17:22:56.108753032Z", | |
"ExitCode": 1, | |
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 8080: Connection refused\n" | |
} | |
] | |
} | |
}, | |
"Image": "sha256:bba41800fb4a3420f3e84d149a94e2c3440da27a19da97f98a99166c6bb8c1e7", | |
"ResolvConfPath": "/var/lib/docker/containers/1de328562bad6da05a735aeb6b8f4b671c3329c5f5a25e229bbb84c9325d4041/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/1de328562bad6da05a735aeb6b8f4b671c3329c5f5a25e229bbb84c9325d4041/hostname", | |
"HostsPath": "/var/lib/docker/containers/1de328562bad6da05a735aeb6b8f4b671c3329c5f5a25e229bbb84c9325d4041/hosts", | |
"LogPath": "/var/lib/docker/containers/1de328562bad6da05a735aeb6b8f4b671c3329c5f5a25e229bbb84c9325d4041/1de328562bad6da05a735aeb6b8f4b671c3329c5f5a25e229bbb84c9325d4041-json.log", | |
"Name": "/ftgo-application_ftgo-restaurant-service_1", | |
"RestartCount": 0, | |
"Driver": "overlay2", | |
"Platform": "linux", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": [], | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "ftgo-application_default", | |
"PortBindings": { | |
"8080/tcp": [ | |
{ | |
"HostIp": "", | |
"HostPort": "8084" | |
} | |
] | |
}, | |
"RestartPolicy": { | |
"Name": "", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": [], | |
"CapAdd": null, | |
"CapDrop": null, | |
"Capabilities": 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": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": null, | |
"DeviceCgroupRules": null, | |
"DeviceRequests": null, | |
"KernelMemory": 0, | |
"KernelMemoryTCP": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": null, | |
"OomKillDisable": false, | |
"PidsLimit": null, | |
"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/cc359e0b12ebc88bd935584e95e742d452e405dd8d6f736166eb8d525bceb007-init/diff:/var/lib/docker/overlay2/de0011ddd6a8d5507c6daa3b29e6df49e3e1208b48c88f1c22a9c9513b04cb08/diff:/var/lib/docker/overlay2/7d77cc41a2069c734f1539cc53e3ce7dea527b01416a5938d5769a442c10c9da/diff:/var/lib/docker/overlay2/13bb3b718e973ba81754491e4dc919fd8285b4080bb1862181886209683f557f/diff:/var/lib/docker/overlay2/80c36af8c022ef12c641aa9755a19b1a11b17854503c9b70abce0e036eddf8d8/diff:/var/lib/docker/overlay2/ad26e3cb7907e9dd7db190ddd106b4fbe0677860884acebcf008068a16679b37/diff", | |
"MergedDir": "/var/lib/docker/overlay2/cc359e0b12ebc88bd935584e95e742d452e405dd8d6f736166eb8d525bceb007/merged", | |
"UpperDir": "/var/lib/docker/overlay2/cc359e0b12ebc88bd935584e95e742d452e405dd8d6f736166eb8d525bceb007/diff", | |
"WorkDir": "/var/lib/docker/overlay2/cc359e0b12ebc88bd935584e95e742d452e405dd8d6f736166eb8d525bceb007/work" | |
}, | |
"Name": "overlay2" | |
}, | |
"Mounts": [], | |
"Config": { | |
"Hostname": "1de328562bad", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"8080/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"SPRING_DATASOURCE_URL=jdbc:mysql://mysql/ftgo_restaurant_service", | |
"SPRING_DATASOURCE_USERNAME=ftgo_restaurant_service_user", | |
"SPRING_DATASOURCE_PASSWORD=ftgo_restaurant_service_password", | |
"SPRING_DATASOURCE_DRIVER_CLASS_NAME=com.mysql.jdbc.Driver", | |
"EVENTUATELOCAL_KAFKA_BOOTSTRAP_SERVERS=kafka:29092", | |
"EVENTUATELOCAL_ZOOKEEPER_CONNECTION_STRING=zookeeper:2181", | |
"JAVA_OPTS=-Xmx192m", | |
"EVENTUATE_DATABASE_SCHEMA=ftgo_restaurant_service", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin", | |
"LANG=C.UTF-8", | |
"JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk/jre", | |
"JAVA_VERSION=8u171", | |
"JAVA_ALPINE_VERSION=8.171.11-r0" | |
], | |
"Cmd": [ | |
"/bin/sh", | |
"-c", | |
"java ${JAVA_OPTS} -jar ftgo-restaurant-service.jar" | |
], | |
"Healthcheck": { | |
"Test": [ | |
"CMD-SHELL", | |
"curl -f http://localhost:8080/actuator/health || exit 1" | |
], | |
"Interval": 5000000000, | |
"StartPeriod": 30000000000 | |
}, | |
"Image": "ftgo-application_ftgo-restaurant-service", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": null, | |
"OnBuild": null, | |
"Labels": { | |
"com.docker.compose.config-hash": "b392e70346d4d50f6760134e9f4ce5dc39fa8fe7ef44626138b350deecf77aaf", | |
"com.docker.compose.container-number": "1", | |
"com.docker.compose.oneoff": "False", | |
"com.docker.compose.project": "ftgo-application", | |
"com.docker.compose.project.config_files": "docker-compose.yml", | |
"com.docker.compose.project.working_dir": "E:\\github\\ftgo-application", | |
"com.docker.compose.service": "ftgo-restaurant-service", | |
"com.docker.compose.version": "1.25.4" | |
} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "ca8a41e63591f2923a101fd18619ffabf06c41f181951805a9dae30a6c7bddaf", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": { | |
} | |
] | |
}, | |
"SandboxKey": "/var/run/docker/netns/ca8a41e63591", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"MacAddress": "", | |
"Networks": { | |
"ftgo-application_default": { | |
"Links": null, | |
"Aliases": [ | |
"1de328562bad", | |
"ftgo-restaurant-service" | |
], | |
"NetworkID": "47d547d109559ae5e3055291d90146271ab6fb3693435589c5157e11ace0ac7c", | |
"EndpointID": "8d38caa07699a06ac9f6cf75b59f458f308014ed895412d6a0e957c9ff7f5943", | |
"Gateway": "172.18.0.1", | |
"IPAddress": "172.18.0.14", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:12:00:0e", | |
"DriverOpts": null | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment