ubuntu@ubuntu-VirtualBox:~/lancl/docker_build/mysql_docker$
sudo docker inspect 032092135mysql
[
{
"Id": "370abc4d6386f27bfd8f90ca9f98392754e13604da311df9529df878f0d9b224",
"Created": "2021-04-04T09:18:34.306804435Z",
"Path": "docker-entrypoint.sh",
"Args": [
"sh",
"/lancl/docker_build/mysql_docker/setup.sh"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 4002,
"ExitCode": 0,
"Error": "",
"StartedAt": "2021-04-04T09:18:35.412644531Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:92dec9c8ad5ddeb2f83318042c776fe7d04e9bcff7517be9ab4cd3089792f6f3",
"ResolvConfPath": "/var/lib/docker/containers/370abc4d6386f27bfd8f90ca9f98392754e13604da311df9529df878f0d9b224/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/370abc4d6386f27bfd8f90ca9f98392754e13604da311df9529df878f0d9b224/hostname",
"HostsPath": "/var/lib/docker/containers/370abc4d6386f27bfd8f90ca9f98392754e13604da311df9529df878f0d9b224/hosts",
"LogPath": "/var/lib/docker/containers/370abc4d6386f27bfd8f90ca9f98392754e13604da311df9529df878f0d9b224/370abc4d6386f27bfd8f90ca9f98392754e13604da311df9529df878f0d9b224-json.log",
"Name": "/032092135mysql",
"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": {
"3306/tcp": [
{
"HostIp": "",
"HostPort": "3306"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"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,
"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/409e88900da5ef440f3b203d75f4796430a871de5478c15675ea4cd12d3d019a-init/diff:/var/lib/docker/overlay2/e6d1064bc84710497c654a76b1c95409d0f7aa156c9ebdf01783bc924c785925/diff:/var/lib/docker/overlay2/9938323e4ca79bfaa7b1b7f689854dcfd28700ce1d982344d4de2c05ea4539ff/diff:/var/lib/docker/overlay2/fbf6724fab3923538c5cc488305227a452a44669ca12b9ee465a83b20f7fed7f/diff:/var/lib/docker/overlay2/a53458ecca378e82a4ef747e464cc0728246504b4ccaae616fd55a5392dd77a9/diff:/var/lib/docker/overlay2/a851ec4c9b04e233172e973381f5f43bfc62f3599c5c43891acbd4fd2e41569b/diff:/var/lib/docker/overlay2/f55fc581b5e5a276645f7b508ccbafe7cd35c02dd0ae8350f355ddc18f40e997/diff:/var/lib/docker/overlay2/185da25edf6279b8d157328900ca32e782d9a4474622e2dd7fee7bf71782134f/diff:/var/lib/docker/overlay2/34da862844b5de3e0228953fdb310edb561f9c003c64c04fff3c45536bcce8cb/diff:/var/lib/docker/overlay2/a00872aa9541b4634d88d2df65bbf30c27906844146d473b8064b00dc6c68e6c/diff:/var/lib/docker/overlay2/467a203e7acb50f9b8e2fe482656ff5bd463988c6249dff5288484aaa0da4eb9/diff:/var/lib/docker/overlay2/b9af73dea35486a3f1a7b57348914b6aa81760f0ceeaa28fc29ba9677fb32837/diff:/var/lib/docker/overlay2/348c3ec98cb010c9b9a65034991729f007e43ab9c16b40af02463132bf70be7e/diff:/var/lib/docker/overlay2/b27df7062514fb09fd4af1a702f079ae7c3827210798a32ac4f49c0494afb31b/diff:/var/lib/docker/overlay2/1675beccca4b28fef5a838ab351291dda6c6cda81a52870e3927c8437cb7de76/diff",
"MergedDir": "/var/lib/docker/overlay2/409e88900da5ef440f3b203d75f4796430a871de5478c15675ea4cd12d3d019a/merged",
"UpperDir": "/var/lib/docker/overlay2/409e88900da5ef440f3b203d75f4796430a871de5478c15675ea4cd12d3d019a/diff",
"WorkDir": "/var/lib/docker/overlay2/409e88900da5ef440f3b203d75f4796430a871de5478c15675ea4cd12d3d019a/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "volume",
"Name": "a9f6c1dc150716f0ae6baa667ddb1eda21518f5fde4374f1be235e6465f93410",
"Source": "/var/lib/docker/volumes/a9f6c1dc150716f0ae6baa667ddb1eda21518f5fde4374f1be235e6465f93410/_data",
"Destination": "/var/lib/mysql",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "370abc4d6386",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3306/tcp": {},
"33060/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOSU_VERSION=1.12",
"MYSQL_MAJOR=5.7",
"MYSQL_VERSION=5.7.33-1debian10",
"MYSQL_ALLOW_EMPTY_PASSWORD=no",
"MYSQL_ROOT_PASSWORD=123456"
],
"Cmd": [
"sh",
"/lancl/docker_build/mysql_docker/setup.sh"
],
"Image": "032092135mysql",
"Volumes": {
"/var/lib/mysql": {}
},
"WorkingDir": "",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "eadf964e6b3a31020d5159c2ebd0d3d7c66a6e0a4371a190b0c4e0d01d46550b",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"3306/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "3306"
}
],
"33060/tcp": null
},
"SandboxKey": "/var/run/docker/netns/eadf964e6b3a",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "4b9f44a37a6c913bcea116071ddc9db345afab5a96d535f4e1495af82e2a7641",
"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": "fcbd52a4b68a3e89cb246cc405b4d0d5f1c9d7e3a04f173633703fcfaca86ef8",
"EndpointID": "4b9f44a37a6c913bcea116071ddc9db345afab5a96d535f4e1495af82e2a7641",
"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
}
}
}
}
]