当前位置:   article > 正文

docker inspect 获取 容器 镜像 元数据 简介_环境镜像元数据

环境镜像元数据

目录

作用

语法格式

实际例子

获取容器 IP

获取容器 MAC 地址

获取容器日志路径

获取容器的元数据

获取镜像的元数据


作用

获取容器/镜像的元数据(JSON格式)


语法格式

docker inspect [OPTIONS] NAME|ID [NAME|ID...]

options 说明

option说明
-f指定返回值的模板文件
-s如果类型为容器,则显示文件总大小
--type返回指定类型的JSON


实际例子


获取容器 IP

docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $CONTAINER_ID

简单版本

docker inspect tomcat7 | grep IPAddress

就是内容会多了点,但有输出关键信息就行


获取容器 MAC 地址

docker inspect --format='{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}' $CONTAINER_ID

简单版本

docker inspect tomcat7 | grep MacAddress

万物皆可 grep 


获取容器日志路径

docker inspect --format='{{.LogPath}}' $CONTAINER_ID


获取容器的元数据

docker inspect tomcat7

 结果

  1. [
  2. {
  3. "Id": "453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee",
  4. "Created": "2020-11-16T15:04:21.46225831Z",
  5. "Path": "catalina.sh",
  6. "Args": [
  7. "run"
  8. ],
  9. "State": {
  10. "Status": "running",
  11. "Running": true,
  12. "Paused": false,
  13. "Restarting": false,
  14. "OOMKilled": false,
  15. "Dead": false,
  16. "Pid": 8151,
  17. "ExitCode": 0,
  18. "Error": "",
  19. "StartedAt": "2020-11-16T16:52:39.762574155Z",
  20. "FinishedAt": "2020-11-16T16:32:59.955468647Z"
  21. },
  22. "Image": "sha256:d0f27b446f0a9cf5638da4c45bfdb9a6e0abb5b5f2b168a59c1242ec31934b39",
  23. "ResolvConfPath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/resolv.conf",
  24. "HostnamePath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/hostname",
  25. "HostsPath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/hosts",
  26. "LogPath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee-json.log",
  27. "Name": "/tomcat7",
  28. "RestartCount": 0,
  29. "Driver": "overlay2",
  30. "Platform": "linux",
  31. "MountLabel": "",
  32. "ProcessLabel": "",
  33. "AppArmorProfile": "",
  34. "ExecIDs": null,
  35. "HostConfig": {
  36. "Binds": [
  37. "/usr/local/tomcat/webapps:/usr/local/tomcat/webapps"
  38. ],
  39. "ContainerIDFile": "",
  40. "LogConfig": {
  41. "Type": "json-file",
  42. "Config": {}
  43. },
  44. "NetworkMode": "default",
  45. "PortBindings": {
  46. "8080/tcp": [
  47. {
  48. "HostIp": "",
  49. "HostPort": "9999"
  50. }
  51. ]
  52. },
  53. "RestartPolicy": {
  54. "Name": "no",
  55. "MaximumRetryCount": 0
  56. },
  57. "AutoRemove": false,
  58. "VolumeDriver": "",
  59. "VolumesFrom": null,
  60. "CapAdd": null,
  61. "CapDrop": null,
  62. "Capabilities": null,
  63. "Dns": [],
  64. "DnsOptions": [],
  65. "DnsSearch": [],
  66. "ExtraHosts": null,
  67. "GroupAdd": null,
  68. "IpcMode": "private",
  69. "Cgroup": "",
  70. "Links": null,
  71. "OomScoreAdj": 0,
  72. "PidMode": "",
  73. "Privileged": false,
  74. "PublishAllPorts": false,
  75. "ReadonlyRootfs": false,
  76. "SecurityOpt": null,
  77. "UTSMode": "",
  78. "UsernsMode": "",
  79. "ShmSize": 67108864,
  80. "Runtime": "runc",
  81. "ConsoleSize": [
  82. 0,
  83. 0
  84. ],
  85. "Isolation": "",
  86. "CpuShares": 0,
  87. "Memory": 0,
  88. "NanoCpus": 0,
  89. "CgroupParent": "",
  90. "BlkioWeight": 0,
  91. "BlkioWeightDevice": [],
  92. "BlkioDeviceReadBps": null,
  93. "BlkioDeviceWriteBps": null,
  94. "BlkioDeviceReadIOps": null,
  95. "BlkioDeviceWriteIOps": null,
  96. "CpuPeriod": 0,
  97. "CpuQuota": 0,
  98. "CpuRealtimePeriod": 0,
  99. "CpuRealtimeRuntime": 0,
  100. "CpusetCpus": "",
  101. "CpusetMems": "",
  102. "Devices": [],
  103. "DeviceCgroupRules": null,
  104. "DeviceRequests": null,
  105. "KernelMemory": 0,
  106. "KernelMemoryTCP": 0,
  107. "MemoryReservation": 0,
  108. "MemorySwap": 0,
  109. "MemorySwappiness": null,
  110. "OomKillDisable": false,
  111. "PidsLimit": null,
  112. "Ulimits": null,
  113. "CpuCount": 0,
  114. "CpuPercent": 0,
  115. "IOMaximumIOps": 0,
  116. "IOMaximumBandwidth": 0,
  117. "MaskedPaths": [
  118. "/proc/asound",
  119. "/proc/acpi",
  120. "/proc/kcore",
  121. "/proc/keys",
  122. "/proc/latency_stats",
  123. "/proc/timer_list",
  124. "/proc/timer_stats",
  125. "/proc/sched_debug",
  126. "/proc/scsi",
  127. "/sys/firmware"
  128. ],
  129. "ReadonlyPaths": [
  130. "/proc/bus",
  131. "/proc/fs",
  132. "/proc/irq",
  133. "/proc/sys",
  134. "/proc/sysrq-trigger"
  135. ]
  136. },
  137. "GraphDriver": {
  138. "Data": {
  139. "LowerDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410-init/diff:/var/lib/docker/overlay2/42ba885fce62f2962b45c326cce2c29b1fd8e114fe549df69fef65b37ab230fa/diff:/var/lib/docker/overlay2/b94481ba0b495bb249e06173dee0e218c13f3e65f7fe23fd5b782c79bd30fe4e/diff:/var/lib/docker/overlay2/177d76f6dd0dca23e1ec9befe03326cbe23fa21a3efa4cfaa74c7f8792198a06/diff:/var/lib/docker/overlay2/651d96c0ee26ee6a5b4206eb812d0c5ba698f1deddfb97f7b943b1a6593b0528/diff:/var/lib/docker/overlay2/5a61caef4107e0883a82e23984c68b00e81c0ce59b603b75cfd9f6a21ca14a18/diff:/var/lib/docker/overlay2/e2dc6737c4504743ab26d2a8e25bae2eaf698493d61d1aff2b723cbff152af81/diff:/var/lib/docker/overlay2/fdca5f4d98e7a1c7a4e3ec17f64b311872fe3cbed6714b819631fea68834b5b8/diff:/var/lib/docker/overlay2/c235b69a918380eccb2202487e8b1581f8af7396ff23bf29bf512e049a10b251/diff:/var/lib/docker/overlay2/6dc73398e20a27e7aa90545d1098152f6e817c5e9cdf79a8c1b647aa86a51e0c/diff:/var/lib/docker/overlay2/140b83aec0bf703150319d5d27ba7192a3f3496486a1baac37809c656d802733/diff",
  140. "MergedDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410/merged",
  141. "UpperDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410/diff",
  142. "WorkDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410/work"
  143. },
  144. "Name": "overlay2"
  145. },
  146. "Mounts": [
  147. {
  148. "Type": "bind",
  149. "Source": "/usr/local/tomcat/webapps",
  150. "Destination": "/usr/local/tomcat/webapps",
  151. "Mode": "",
  152. "RW": true,
  153. "Propagation": "rprivate"
  154. }
  155. ],
  156. "Config": {
  157. "Hostname": "453d5e858560",
  158. "Domainname": "",
  159. "User": "",
  160. "AttachStdin": false,
  161. "AttachStdout": false,
  162. "AttachStderr": false,
  163. "ExposedPorts": {
  164. "8080/tcp": {}
  165. },
  166. "Tty": false,
  167. "OpenStdin": true,
  168. "StdinOnce": false,
  169. "Env": [
  170. "PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  171. "LANG=C.UTF-8",
  172. "JAVA_HOME=/usr/local/openjdk-8",
  173. "JAVA_VERSION=8u265",
  174. "CATALINA_HOME=/usr/local/tomcat",
  175. "TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib",
  176. "LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib",
  177. "GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23",
  178. "TOMCAT_MAJOR=7",
  179. "TOMCAT_VERSION=7.0.106",
  180. "TOMCAT_SHA512=f1fb2f3db9e66e66df120b058c216e72ec30df90abd80feda49773fa35c3c00cb56e4d264803696e1a71591d5cb60fcabf60f37e1774d549642ebe3eb902622d"
  181. ],
  182. "Cmd": [
  183. "catalina.sh",
  184. "run"
  185. ],
  186. "Image": "tomcat:7",
  187. "Volumes": null,
  188. "WorkingDir": "/usr/local/tomcat",
  189. "Entrypoint": null,
  190. "OnBuild": null,
  191. "Labels": {}
  192. },
  193. "NetworkSettings": {
  194. "Bridge": "",
  195. "SandboxID": "42de54c029f2455fb86407ac397fa491a01819106c267c2ae8ca84c8f7955686",
  196. "HairpinMode": false,
  197. "LinkLocalIPv6Address": "",
  198. "LinkLocalIPv6PrefixLen": 0,
  199. "Ports": {
  200. "8080/tcp": [
  201. {
  202. "HostIp": "0.0.0.0",
  203. "HostPort": "9999"
  204. }
  205. ]
  206. },
  207. "SandboxKey": "/var/run/docker/netns/42de54c029f2",
  208. "SecondaryIPAddresses": null,
  209. "SecondaryIPv6Addresses": null,
  210. "EndpointID": "86302746bf794210a2d24b869c6a1175586124de8b3128c98e33150411f213c1",
  211. "Gateway": "172.17.0.1",
  212. "GlobalIPv6Address": "",
  213. "GlobalIPv6PrefixLen": 0,
  214. "IPAddress": "172.17.0.3",
  215. "IPPrefixLen": 16,
  216. "IPv6Gateway": "",
  217. "MacAddress": "02:42:ac:11:00:03",
  218. "Networks": {
  219. "bridge": {
  220. "IPAMConfig": null,
  221. "Links": null,
  222. "Aliases": null,
  223. "NetworkID": "b6f97cbdc0ef2e334507c79e4e5aa99703e6bfc6735b199fc34e47d3725de3ee",
  224. "EndpointID": "86302746bf794210a2d24b869c6a1175586124de8b3128c98e33150411f213c1",
  225. "Gateway": "172.17.0.1",
  226. "IPAddress": "172.17.0.3",
  227. "IPPrefixLen": 16,
  228. "IPv6Gateway": "",
  229. "GlobalIPv6Address": "",
  230. "GlobalIPv6PrefixLen": 0,
  231. "MacAddress": "02:42:ac:11:00:03",
  232. "DriverOpts": null
  233. }
  234. }
  235. }
  236. }
  237. ]


获取镜像的元数据

docker inspect tomcat:7

结果

  1. [
  2. {
  3. "Id": "453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee",
  4. "Created": "2020-11-16T15:04:21.46225831Z",
  5. "Path": "catalina.sh",
  6. "Args": [
  7. "run"
  8. ],
  9. "State": {
  10. "Status": "running",
  11. "Running": true,
  12. "Paused": false,
  13. "Restarting": false,
  14. "OOMKilled": false,
  15. "Dead": false,
  16. "Pid": 8151,
  17. "ExitCode": 0,
  18. "Error": "",
  19. "StartedAt": "2020-11-16T16:52:39.762574155Z",
  20. "FinishedAt": "2020-11-16T16:32:59.955468647Z"
  21. },
  22. "Image": "sha256:d0f27b446f0a9cf5638da4c45bfdb9a6e0abb5b5f2b168a59c1242ec31934b39",
  23. "ResolvConfPath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/resolv.conf",
  24. "HostnamePath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/hostname",
  25. "HostsPath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/hosts",
  26. "LogPath": "/var/lib/docker/containers/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee/453d5e85856052a33f25954ea491648d4f465b073a0b13257734271534ce25ee-json.log",
  27. "Name": "/tomcat7",
  28. "RestartCount": 0,
  29. "Driver": "overlay2",
  30. "Platform": "linux",
  31. "MountLabel": "",
  32. "ProcessLabel": "",
  33. "AppArmorProfile": "",
  34. "ExecIDs": null,
  35. "HostConfig": {
  36. "Binds": [
  37. "/usr/local/tomcat/webapps:/usr/local/tomcat/webapps"
  38. ],
  39. "ContainerIDFile": "",
  40. "LogConfig": {
  41. "Type": "json-file",
  42. "Config": {}
  43. },
  44. "NetworkMode": "default",
  45. "PortBindings": {
  46. "8080/tcp": [
  47. {
  48. "HostIp": "",
  49. "HostPort": "9999"
  50. }
  51. ]
  52. },
  53. "RestartPolicy": {
  54. "Name": "no",
  55. "MaximumRetryCount": 0
  56. },
  57. "AutoRemove": false,
  58. "VolumeDriver": "",
  59. "VolumesFrom": null,
  60. "CapAdd": null,
  61. "CapDrop": null,
  62. "Capabilities": null,
  63. "Dns": [],
  64. "DnsOptions": [],
  65. "DnsSearch": [],
  66. "ExtraHosts": null,
  67. "GroupAdd": null,
  68. "IpcMode": "private",
  69. "Cgroup": "",
  70. "Links": null,
  71. "OomScoreAdj": 0,
  72. "PidMode": "",
  73. "Privileged": false,
  74. "PublishAllPorts": false,
  75. "ReadonlyRootfs": false,
  76. "SecurityOpt": null,
  77. "UTSMode": "",
  78. "UsernsMode": "",
  79. "ShmSize": 67108864,
  80. "Runtime": "runc",
  81. "ConsoleSize": [
  82. 0,
  83. 0
  84. ],
  85. "Isolation": "",
  86. "CpuShares": 0,
  87. "Memory": 0,
  88. "NanoCpus": 0,
  89. "CgroupParent": "",
  90. "BlkioWeight": 0,
  91. "BlkioWeightDevice": [],
  92. "BlkioDeviceReadBps": null,
  93. "BlkioDeviceWriteBps": null,
  94. "BlkioDeviceReadIOps": null,
  95. "BlkioDeviceWriteIOps": null,
  96. "CpuPeriod": 0,
  97. "CpuQuota": 0,
  98. "CpuRealtimePeriod": 0,
  99. "CpuRealtimeRuntime": 0,
  100. "CpusetCpus": "",
  101. "CpusetMems": "",
  102. "Devices": [],
  103. "DeviceCgroupRules": null,
  104. "DeviceRequests": null,
  105. "KernelMemory": 0,
  106. "KernelMemoryTCP": 0,
  107. "MemoryReservation": 0,
  108. "MemorySwap": 0,
  109. "MemorySwappiness": null,
  110. "OomKillDisable": false,
  111. "PidsLimit": null,
  112. "Ulimits": null,
  113. "CpuCount": 0,
  114. "CpuPercent": 0,
  115. "IOMaximumIOps": 0,
  116. "IOMaximumBandwidth": 0,
  117. "MaskedPaths": [
  118. "/proc/asound",
  119. "/proc/acpi",
  120. "/proc/kcore",
  121. "/proc/keys",
  122. "/proc/latency_stats",
  123. "/proc/timer_list",
  124. "/proc/timer_stats",
  125. "/proc/sched_debug",
  126. "/proc/scsi",
  127. "/sys/firmware"
  128. ],
  129. "ReadonlyPaths": [
  130. "/proc/bus",
  131. "/proc/fs",
  132. "/proc/irq",
  133. "/proc/sys",
  134. "/proc/sysrq-trigger"
  135. ]
  136. },
  137. "GraphDriver": {
  138. "Data": {
  139. "LowerDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410-init/diff:/var/lib/docker/overlay2/42ba885fce62f2962b45c326cce2c29b1fd8e114fe549df69fef65b37ab230fa/diff:/var/lib/docker/overlay2/b94481ba0b495bb249e06173dee0e218c13f3e65f7fe23fd5b782c79bd30fe4e/diff:/var/lib/docker/overlay2/177d76f6dd0dca23e1ec9befe03326cbe23fa21a3efa4cfaa74c7f8792198a06/diff:/var/lib/docker/overlay2/651d96c0ee26ee6a5b4206eb812d0c5ba698f1deddfb97f7b943b1a6593b0528/diff:/var/lib/docker/overlay2/5a61caef4107e0883a82e23984c68b00e81c0ce59b603b75cfd9f6a21ca14a18/diff:/var/lib/docker/overlay2/e2dc6737c4504743ab26d2a8e25bae2eaf698493d61d1aff2b723cbff152af81/diff:/var/lib/docker/overlay2/fdca5f4d98e7a1c7a4e3ec17f64b311872fe3cbed6714b819631fea68834b5b8/diff:/var/lib/docker/overlay2/c235b69a918380eccb2202487e8b1581f8af7396ff23bf29bf512e049a10b251/diff:/var/lib/docker/overlay2/6dc73398e20a27e7aa90545d1098152f6e817c5e9cdf79a8c1b647aa86a51e0c/diff:/var/lib/docker/overlay2/140b83aec0bf703150319d5d27ba7192a3f3496486a1baac37809c656d802733/diff",
  140. "MergedDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410/merged",
  141. "UpperDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410/diff",
  142. "WorkDir": "/var/lib/docker/overlay2/f55d301001836d0bca303385ecf6981356823dab220a0f05cbf4101d0c4b6410/work"
  143. },
  144. "Name": "overlay2"
  145. },
  146. "Mounts": [
  147. {
  148. "Type": "bind",
  149. "Source": "/usr/local/tomcat/webapps",
  150. "Destination": "/usr/local/tomcat/webapps",
  151. "Mode": "",
  152. "RW": true,
  153. "Propagation": "rprivate"
  154. }
  155. ],
  156. "Config": {
  157. "Hostname": "453d5e858560",
  158. "Domainname": "",
  159. "User": "",
  160. "AttachStdin": false,
  161. "AttachStdout": false,
  162. "AttachStderr": false,
  163. "ExposedPorts": {
  164. "8080/tcp": {}
  165. },
  166. "Tty": false,
  167. "OpenStdin": true,
  168. "StdinOnce": false,
  169. "Env": [
  170. "PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  171. "LANG=C.UTF-8",
  172. "JAVA_HOME=/usr/local/openjdk-8",
  173. "JAVA_VERSION=8u265",
  174. "CATALINA_HOME=/usr/local/tomcat",
  175. "TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib",
  176. "LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib",
  177. "GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 61B832AC2F1C5A90F0F9B00A1C506407564C17A3 713DA88BE50911535FE716F5208B0AB1D63011C7 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23",
  178. "TOMCAT_MAJOR=7",
  179. "TOMCAT_VERSION=7.0.106",
  180. "TOMCAT_SHA512=f1fb2f3db9e66e66df120b058c216e72ec30df90abd80feda49773fa35c3c00cb56e4d264803696e1a71591d5cb60fcabf60f37e1774d549642ebe3eb902622d"
  181. ],
  182. "Cmd": [
  183. "catalina.sh",
  184. "run"
  185. ],
  186. "Image": "tomcat:7",
  187. "Volumes": null,
  188. "WorkingDir": "/usr/local/tomcat",
  189. "Entrypoint": null,
  190. "OnBuild": null,
  191. "Labels": {}
  192. },
  193. "NetworkSettings": {
  194. "Bridge": "",
  195. "SandboxID": "42de54c029f2455fb86407ac397fa491a01819106c267c2ae8ca84c8f7955686",
  196. "HairpinMode": false,
  197. "LinkLocalIPv6Address": "",
  198. "LinkLocalIPv6PrefixLen": 0,
  199. "Ports": {
  200. "8080/tcp": [
  201. {
  202. "HostIp": "0.0.0.0",
  203. "HostPort": "9999"
  204. }
  205. ]
  206. },
  207. "SandboxKey": "/var/run/docker/netns/42de54c029f2",
  208. "SecondaryIPAddresses": null,
  209. "SecondaryIPv6Addresses": null,
  210. "EndpointID": "86302746bf794210a2d24b869c6a1175586124de8b3128c98e33150411f213c1",
  211. "Gateway": "172.17.0.1",
  212. "GlobalIPv6Address": "",
  213. "GlobalIPv6PrefixLen": 0,
  214. "IPAddress": "172.17.0.3",
  215. "IPPrefixLen": 16,
  216. "IPv6Gateway": "",
  217. "MacAddress": "02:42:ac:11:00:03",
  218. "Networks": {
  219. "bridge": {
  220. "IPAMConfig": null,
  221. "Links": null,
  222. "Aliases": null,
  223. "NetworkID": "b6f97cbdc0ef2e334507c79e4e5aa99703e6bfc6735b199fc34e47d3725de3ee",
  224. "EndpointID": "86302746bf794210a2d24b869c6a1175586124de8b3128c98e33150411f213c1",
  225. "Gateway": "172.17.0.1",
  226. "IPAddress": "172.17.0.3",
  227. "IPPrefixLen": 16,
  228. "IPv6Gateway": "",
  229. "GlobalIPv6Address": "",
  230. "GlobalIPv6PrefixLen": 0,
  231. "MacAddress": "02:42:ac:11:00:03",
  232. "DriverOpts": null
  233. }
  234. }
  235. }
  236. }
  237. ]

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/一键难忘520/article/detail/1016226
推荐阅读
相关标签
  

闽ICP备14008679号