1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
| [root@localhost games]# docker inspect mycentos3 [ { "Id": "8d2c6a78ff45510976f917aa9b7a7b4c7c2985cb9fc8df9a178039a247d7dacc", "Created": "2025-01-02T08:49:13.666517689Z", "Path": "/bin/bash", "Args": [], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 5843, "ExitCode": 0, "Error": "", "StartedAt": "2025-01-02T08:49:14.044283552Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "sha256:5d0da3dc976460b72c77d94c8a1ad043720b0416bfc16c52c45d4847e53fadb6", "ResolvConfPath": "/var/lib/docker/containers/8d2c6a78ff45510976f917aa9b7a7b4c7c2985cb9fc8df9a178039a247d7dacc/resolv.conf", "HostnamePath": "/var/lib/docker/containers/8d2c6a78ff45510976f917aa9b7a7b4c7c2985cb9fc8df9a178039a247d7dacc/hostname", "HostsPath": "/var/lib/docker/containers/8d2c6a78ff45510976f917aa9b7a7b4c7c2985cb9fc8df9a178039a247d7dacc/hosts", "LogPath": "/var/lib/docker/containers/8d2c6a78ff45510976f917aa9b7a7b4c7c2985cb9fc8df9a178039a247d7dacc/8d2c6a78ff45510976f917aa9b7a7b4c7c2985cb9fc8df9a178039a247d7dacc-json.log", "Name": "/mycentos3", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": [ "b54db463456421c8b5bf777d922bd0bd370cefda68eae822d94a59f9dd481970" ], "HostConfig": { "Binds": [ "/usr/local/mydata:/usr/local/mydata" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "bridge", "PortBindings": {}, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "ConsoleSize": [ 41, 148 ], "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", "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": [], "BlkioDeviceReadBps": [], "BlkioDeviceWriteBps": [], "BlkioDeviceReadIOps": [], "BlkioDeviceWriteIOps": [], "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DeviceCgroupRules": null, "DeviceRequests": null, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": null, "Ulimits": [], "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", "/sys/devices/virtual/powercap" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/ee44121eac37ae22db75a5ab80c9de584d250e58597c40873a4d6492a27bd9d8-init/diff:/var/lib/docker/overlay2/3175a1d61e49a8cf107a2793043510007ae78db94b4c7d6852e090dedaae8d36/diff", "MergedDir": "/var/lib/docker/overlay2/ee44121eac37ae22db75a5ab80c9de584d250e58597c40873a4d6492a27bd9d8/merged", "UpperDir": "/var/lib/docker/overlay2/ee44121eac37ae22db75a5ab80c9de584d250e58597c40873a4d6492a27bd9d8/diff", "WorkDir": "/var/lib/docker/overlay2/ee44121eac37ae22db75a5ab80c9de584d250e58597c40873a4d6492a27bd9d8/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "bind", "Source": "/usr/local/mydata", "Destination": "/usr/local/mydata", "Mode": "", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "8d2c6a78ff45", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "Tty": false, "OpenStdin": true, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ], "Cmd": [ "/bin/bash" ], "Image": "centos", "Volumes": null, "WorkingDir": "", "Entrypoint": null, "OnBuild": null, "Labels": { "org.label-schema.build-date": "20210915", "org.label-schema.license": "GPLv2", "org.label-schema.name": "CentOS Base Image", "org.label-schema.schema-version": "1.0", "org.label-schema.vendor": "CentOS" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "363adcb3658c6f78273717769c2a841384dbb218b315d44228d0570b893f7c46", "SandboxKey": "/var/run/docker/netns/363adcb3658c", "Ports": {}, "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "4752889635dc6ec69e983f33db097870d0f17778b6f803e418855fa4152ad491", "Gateway": "172.17.0.1", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "172.17.0.4", "IPPrefixLen": 16, "IPv6Gateway": "", "MacAddress": "02:42:ac:11:00:04", "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "MacAddress": "02:42:ac:11:00:04", "NetworkID": "9d87498b72d9c6675c74c723ec8bbe8e319796eb810ecb7677bdf815ef97461c", "EndpointID": "4752889635dc6ec69e983f33db097870d0f17778b6f803e418855fa4152ad491", "Gateway": "172.17.0.1", "IPAddress": "172.17.0.4", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "DriverOpts": null, "DNSNames": null } } } } ]
|