Last active
February 21, 2018 17:13
-
-
Save azizkhani/2d0ca14fbebb9c64209d5f6548bb2711 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
docker inspect 43b9f5d12c27 | |
[ | |
{ | |
"Id": "43b9f5d12c27e2557840f1c19f2d47163beddf12aa6b6d3f299d797e2e2a2f6d", | |
"Created": "2018-01-09T19:38:18.822310924Z", | |
"Path": "/entrypoint.sh", | |
"Args": [ | |
"mysqld" | |
], | |
"State": { | |
"Status": "exited", | |
"Running": false, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 0, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2018-02-06T11:20:00.264789271Z", | |
"FinishedAt": "2018-02-21T16:28:46.048993852Z", | |
"Health": { | |
"Status": "healthy", | |
"FailingStreak": 0, | |
"Log": [ | |
{ | |
"Start": "2018-02-21T16:26:28.921594037Z", | |
"End": "2018-02-21T16:26:28.98517253Z", | |
"ExitCode": 0, | |
"Output": "mysqld is alive\n" | |
}, | |
{ | |
"Start": "2018-02-21T16:26:58.985351736Z", | |
"End": "2018-02-21T16:26:59.041470451Z", | |
"ExitCode": 0, | |
"Output": "mysqld is alive\n" | |
}, | |
{ | |
"Start": "2018-02-21T16:27:29.04169174Z", | |
"End": "2018-02-21T16:27:29.264634657Z", | |
"ExitCode": 0, | |
"Output": "mysqld is alive\n" | |
}, | |
{ | |
"Start": "2018-02-21T16:27:59.264852049Z", | |
"End": "2018-02-21T16:27:59.613125673Z", | |
"ExitCode": 0, | |
"Output": "mysqld is alive\n" | |
}, | |
{ | |
"Start": "2018-02-21T16:28:29.61326278Z", | |
"End": "2018-02-21T16:28:29.670159414Z", | |
"ExitCode": 0, | |
"Output": "mysqld is alive\n" | |
} | |
] | |
} | |
}, | |
"Image": "sha256:a3ee341faefb76c6c4c6f2a4c37c513466f5aae891ca2f3cb70fd305b822f8de", | |
"ResolvConfPath": "/var/lib/docker/containers/43b9f5d12c27e2557840f1c19f2d47163beddf12aa6b6d3f299d797e2e2a2f6d/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/43b9f5d12c27e2557840f1c19f2d47163beddf12aa6b6d3f299d797e2e2a2f6d/hostname", | |
"HostsPath": "/var/lib/docker/containers/43b9f5d12c27e2557840f1c19f2d47163beddf12aa6b6d3f299d797e2e2a2f6d/hosts", | |
"LogPath": "", | |
"Name": "/mysql", | |
"RestartCount": 0, | |
"Driver": "devicemapper", | |
"MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c700,c1008", | |
"ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c700,c1008", | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": null, | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "journald", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": { | |
"3306/tcp": [ | |
{ | |
"HostIp": "", | |
"HostPort": "3306" | |
} | |
] | |
}, | |
"RestartPolicy": { | |
"Name": "no", | |
"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": "docker-runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 0, | |
"Memory": 0, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 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": "devicemapper", | |
"Data": { | |
"DeviceId": "9", | |
"DeviceName": "docker-253:1-58792007-378551a1c63952b006072ebb5fe854a91e2a802d5e1edaa9697f62e8e1400df2", | |
"DeviceSize": "10737418240" | |
} | |
}, | |
"Mounts": [ | |
{ | |
"Name": "5d8104e2e3742f03a64fdb14642c9662e13543cc0700ae64f7ce7a9d100eaa45", | |
"Source": "/var/lib/docker/volumes/5d8104e2e3742f03a64fdb14642c9662e13543cc0700ae64f7ce7a9d100eaa45/_data", | |
"Destination": "/var/lib/mysql", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
} | |
], | |
"Config": { | |
"Hostname": "43b9f5d12c27", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"3306/tcp": {}, | |
"33060/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"MYSQL_ROOT_PASSWORD=rootroot", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"Cmd": [ | |
"mysqld" | |
], | |
"Healthcheck": { | |
"Test": [ | |
"CMD-SHELL", | |
"/healthcheck.sh" | |
] | |
}, | |
"Image": "mysql/mysql-server:latest", | |
"Volumes": { | |
"/var/lib/mysql": {} | |
}, | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"/entrypoint.sh" | |
], | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "fc8c0fe036e0414ef26acd27a1b9fc9eadee06aa0eb158a2f7ecf61d8f1165c0", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": null, | |
"SandboxKey": "/var/run/docker/netns/fc8c0fe036e0", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"MacAddress": "", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "51d973b12633424e76a45eda56456ad383462e0e647451b42a018b6802cd9042", | |
"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