Guest User

Untitled

a guest
Mar 29th, 2024
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.96 KB | None | 0 0
  1. fridge@fridge:~$ docker inspect pihole
  2. [
  3. {
  4. "Id": "294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f",
  5. "Created": "2024-03-29T19:50:52.828842378Z",
  6. "Path": "/s6-init",
  7. "Args": [],
  8. "State": {
  9. "Status": "running",
  10. "Running": true,
  11. "Paused": false,
  12. "Restarting": false,
  13. "OOMKilled": false,
  14. "Dead": false,
  15. "Pid": 1534,
  16. "ExitCode": 0,
  17. "Error": "",
  18. "StartedAt": "2024-03-29T20:42:55.127846212Z",
  19. "FinishedAt": "2024-03-29T20:41:14.589235264Z",
  20. "Health": {
  21. "Status": "healthy",
  22. "FailingStreak": 0,
  23. "Log": [
  24. {
  25. "Start": "2024-03-29T21:37:46.144424725Z",
  26. "End": "2024-03-29T21:37:46.212201856Z",
  27. "ExitCode": 0,
  28. "Output": "0.0.0.0\n"
  29. },
  30. {
  31. "Start": "2024-03-29T21:38:16.326004075Z",
  32. "End": "2024-03-29T21:38:16.395502113Z",
  33. "ExitCode": 0,
  34. "Output": "0.0.0.0\n"
  35. },
  36. {
  37. "Start": "2024-03-29T21:38:46.466066919Z",
  38. "End": "2024-03-29T21:38:46.546768594Z",
  39. "ExitCode": 0,
  40. "Output": "0.0.0.0\n"
  41. },
  42. {
  43. "Start": "2024-03-29T21:39:16.660146637Z",
  44. "End": "2024-03-29T21:39:16.739944849Z",
  45. "ExitCode": 0,
  46. "Output": "0.0.0.0\n"
  47. },
  48. {
  49. "Start": "2024-03-29T21:39:46.85554Z",
  50. "End": "2024-03-29T21:39:46.935740891Z",
  51. "ExitCode": 0,
  52. "Output": "0.0.0.0\n"
  53. }
  54. ]
  55. }
  56. },
  57. "Image": "sha256:166d64ed1cc789c599df743fb91ca726ef101ef81080316c324098827eaf3f5f",
  58. "ResolvConfPath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/resolv.conf",
  59. "HostnamePath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/hostname",
  60. "HostsPath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/hosts",
  61. "LogPath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f-json.log",
  62. "Name": "/pihole",
  63. "RestartCount": 0,
  64. "Driver": "overlay2",
  65. "Platform": "linux",
  66. "MountLabel": "",
  67. "ProcessLabel": "",
  68. "AppArmorProfile": "docker-default",
  69. "ExecIDs": null,
  70. "HostConfig": {
  71. "Binds": [
  72. "/home/fridge/docker/pihole/etc-pihole:/etc/pihole",
  73. "/home/fridge/docker/pihole/etc-dnsmasq.d:/etc/dnsmasq.d"
  74. ],
  75. "ContainerIDFile": "",
  76. "LogConfig": {
  77. "Type": "json-file",
  78. "Config": {}
  79. },
  80. "NetworkMode": "pihole_macvlan",
  81. "PortBindings": {},
  82. "RestartPolicy": {
  83. "Name": "unless-stopped",
  84. "MaximumRetryCount": 0
  85. },
  86. "AutoRemove": false,
  87. "VolumeDriver": "",
  88. "VolumesFrom": null,
  89. "ConsoleSize": [
  90. 24,
  91. 80
  92. ],
  93. "CapAdd": [
  94. "NET_ADMIN"
  95. ],
  96. "CapDrop": null,
  97. "CgroupnsMode": "private",
  98. "Dns": [
  99. "127.0.0.1",
  100. "1.1.1.1"
  101. ],
  102. "DnsOptions": [],
  103. "DnsSearch": [],
  104. "ExtraHosts": null,
  105. "GroupAdd": null,
  106. "IpcMode": "private",
  107. "Cgroup": "",
  108. "Links": null,
  109. "OomScoreAdj": 0,
  110. "PidMode": "",
  111. "Privileged": false,
  112. "PublishAllPorts": false,
  113. "ReadonlyRootfs": false,
  114. "SecurityOpt": null,
  115. "UTSMode": "",
  116. "UsernsMode": "",
  117. "ShmSize": 67108864,
  118. "Runtime": "runc",
  119. "Isolation": "",
  120. "CpuShares": 0,
  121. "Memory": 0,
  122. "NanoCpus": 0,
  123. "CgroupParent": "",
  124. "BlkioWeight": 0,
  125. "BlkioWeightDevice": [],
  126. "BlkioDeviceReadBps": [],
  127. "BlkioDeviceWriteBps": [],
  128. "BlkioDeviceReadIOps": [],
  129. "BlkioDeviceWriteIOps": [],
  130. "CpuPeriod": 0,
  131. "CpuQuota": 0,
  132. "CpuRealtimePeriod": 0,
  133. "CpuRealtimeRuntime": 0,
  134. "CpusetCpus": "",
  135. "CpusetMems": "",
  136. "Devices": [],
  137. "DeviceCgroupRules": null,
  138. "DeviceRequests": null,
  139. "MemoryReservation": 0,
  140. "MemorySwap": 0,
  141. "MemorySwappiness": null,
  142. "OomKillDisable": null,
  143. "PidsLimit": null,
  144. "Ulimits": null,
  145. "CpuCount": 0,
  146. "CpuPercent": 0,
  147. "IOMaximumIOps": 0,
  148. "IOMaximumBandwidth": 0,
  149. "MaskedPaths": [
  150. "/proc/asound",
  151. "/proc/acpi",
  152. "/proc/kcore",
  153. "/proc/keys",
  154. "/proc/latency_stats",
  155. "/proc/timer_list",
  156. "/proc/timer_stats",
  157. "/proc/sched_debug",
  158. "/proc/scsi",
  159. "/sys/firmware"
  160. ],
  161. "ReadonlyPaths": [
  162. "/proc/bus",
  163. "/proc/fs",
  164. "/proc/irq",
  165. "/proc/sys",
  166. "/proc/sysrq-trigger"
  167. ]
  168. },
  169. "GraphDriver": {
  170. "Data": {
  171. "LowerDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a-init/diff:/var/lib/docker/overlay2/894f49b9fbc49457bacba9abe102b46bfa88a995db6798e8560b0b35cc73e6d7/diff:/var/lib/docker/overlay2/848ef5570b9ee427fd65bf20b004fe2fccf4df0ff6b9bbea1cbf32a5554c4dd8/diff:/var/lib/docker/overlay2/21a6a111ffff74d4d4a8163e844e97350249e4eef12f0bfa649943cdd075a176/diff:/var/lib/docker/overlay2/471196ab00f937c5f2ee17b8d5c3b87d41f80e35856ecf5ecfa25453944491e4/diff:/var/lib/docker/overlay2/87a45755de2b9341719e6c6f248dd61255df3c9d1df4b7f7aa22862e6054f26b/diff:/var/lib/docker/overlay2/9ba61afb5f52e32d157be4437c0b25c3a13a6121092eef64d4dd13680fa1b34c/diff:/var/lib/docker/overlay2/72198f8127a9a2ddd82ad56079367b08157d6b4367ff35e7067339cc1e0c09ce/diff:/var/lib/docker/overlay2/ca5f04d5ccabddda8051db5255f13540527a8e67458ee6c3aeb89a9a9dffe1c7/diff:/var/lib/docker/overlay2/b2e0b03c55ed5aee1495398f3994690b82717e038cf15b2d4411ddf97fe5e283/diff",
  172. "MergedDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a/merged",
  173. "UpperDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a/diff",
  174. "WorkDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a/work"
  175. },
  176. "Name": "overlay2"
  177. },
  178. "Mounts": [
  179. {
  180. "Type": "bind",
  181. "Source": "/home/fridge/docker/pihole/etc-pihole",
  182. "Destination": "/etc/pihole",
  183. "Mode": "",
  184. "RW": true,
  185. "Propagation": "rprivate"
  186. },
  187. {
  188. "Type": "bind",
  189. "Source": "/home/fridge/docker/pihole/etc-dnsmasq.d",
  190. "Destination": "/etc/dnsmasq.d",
  191. "Mode": "",
  192. "RW": true,
  193. "Propagation": "rprivate"
  194. }
  195. ],
  196. "Config": {
  197. "Hostname": "pihole",
  198. "Domainname": "",
  199. "User": "",
  200. "AttachStdin": false,
  201. "AttachStdout": false,
  202. "AttachStderr": false,
  203. "ExposedPorts": {
  204. "53/tcp": {},
  205. "53/udp": {},
  206. "67/udp": {},
  207. "80/tcp": {}
  208. },
  209. "Tty": false,
  210. "OpenStdin": false,
  211. "StdinOnce": false,
  212. "Env": [
  213. "TZ=America/New_York",
  214. "WEBPASSWORD=fridge",
  215. "PATH=/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  216. "phpver=php",
  217. "PHP_ERROR_LOG=/var/log/lighttpd/error-pihole.log",
  218. "IPv6=True",
  219. "S6_KEEP_ENV=1",
  220. "S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
  221. "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
  222. "FTLCONF_LOCAL_IPV4=0.0.0.0",
  223. "FTL_CMD=no-daemon",
  224. "DNSMASQ_USER=pihole"
  225. ],
  226. "Cmd": null,
  227. "Healthcheck": {
  228. "Test": [
  229. "CMD-SHELL",
  230. "dig +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1"
  231. ]
  232. },
  233. "Image": "pihole/pihole:latest",
  234. "Volumes": null,
  235. "WorkingDir": "",
  236. "Entrypoint": [
  237. "/s6-init"
  238. ],
  239. "OnBuild": null,
  240. "Labels": {
  241. "org.opencontainers.image.created": "2024-02-26T21:35:41.560Z",
  242. "org.opencontainers.image.description": "Pi-hole in a docker container",
  243. "org.opencontainers.image.licenses": "NOASSERTION",
  244. "org.opencontainers.image.revision": "91ff5662c4153f24be7bf4db548e7e015b60b02f",
  245. "org.opencontainers.image.source": "https://github.com/pi-hole/docker-pi-hole",
  246. "org.opencontainers.image.title": "docker-pi-hole",
  247. "org.opencontainers.image.url": "https://github.com/pi-hole/docker-pi-hole",
  248. "org.opencontainers.image.version": "2024.02.2"
  249. }
  250. },
  251. "NetworkSettings": {
  252. "Bridge": "",
  253. "SandboxID": "566c2bacd6fc89ad692e33a8dfcad76bda10c7ec8d130fe2012ecedcba71b0e9",
  254. "HairpinMode": false,
  255. "LinkLocalIPv6Address": "",
  256. "LinkLocalIPv6PrefixLen": 0,
  257. "Ports": {},
  258. "SandboxKey": "/var/run/docker/netns/566c2bacd6fc",
  259. "SecondaryIPAddresses": null,
  260. "SecondaryIPv6Addresses": null,
  261. "EndpointID": "",
  262. "Gateway": "",
  263. "GlobalIPv6Address": "",
  264. "GlobalIPv6PrefixLen": 0,
  265. "IPAddress": "",
  266. "IPPrefixLen": 0,
  267. "IPv6Gateway": "",
  268. "MacAddress": "",
  269. "Networks": {
  270. "pihole_macvlan": {
  271. "IPAMConfig": {
  272. "IPv4Address": "192.168.1.99"
  273. },
  274. "Links": null,
  275. "Aliases": [
  276. "294c620812eb",
  277. "pihole"
  278. ],
  279. "NetworkID": "3b2db264d02ad97fd4e9763b514b74961649911010706e67a7377ef6b6f25548",
  280. "EndpointID": "34de3339433cb42e8bdf92a0a2660d6076c09c4daddc415b621465203384978e",
  281. "Gateway": "192.168.1.1",
  282. "IPAddress": "192.168.1.99",
  283. "IPPrefixLen": 24,
  284. "IPv6Gateway": "",
  285. "GlobalIPv6Address": "",
  286. "GlobalIPv6PrefixLen": 0,
  287. "MacAddress": "02:42:c0:a8:01:63",
  288. "DriverOpts": null
  289. }
  290. }
  291. }
  292. }
  293. ]
  294. fridge@fridge:~$
Advertisement
Add Comment
Please, Sign In to add comment