Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fridge@fridge:~$ docker inspect pihole
- [
- {
- "Id": "294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f",
- "Created": "2024-03-29T19:50:52.828842378Z",
- "Path": "/s6-init",
- "Args": [],
- "State": {
- "Status": "running",
- "Running": true,
- "Paused": false,
- "Restarting": false,
- "OOMKilled": false,
- "Dead": false,
- "Pid": 1534,
- "ExitCode": 0,
- "Error": "",
- "StartedAt": "2024-03-29T20:42:55.127846212Z",
- "FinishedAt": "2024-03-29T20:41:14.589235264Z",
- "Health": {
- "Status": "healthy",
- "FailingStreak": 0,
- "Log": [
- {
- "Start": "2024-03-29T21:37:46.144424725Z",
- "End": "2024-03-29T21:37:46.212201856Z",
- "ExitCode": 0,
- "Output": "0.0.0.0\n"
- },
- {
- "Start": "2024-03-29T21:38:16.326004075Z",
- "End": "2024-03-29T21:38:16.395502113Z",
- "ExitCode": 0,
- "Output": "0.0.0.0\n"
- },
- {
- "Start": "2024-03-29T21:38:46.466066919Z",
- "End": "2024-03-29T21:38:46.546768594Z",
- "ExitCode": 0,
- "Output": "0.0.0.0\n"
- },
- {
- "Start": "2024-03-29T21:39:16.660146637Z",
- "End": "2024-03-29T21:39:16.739944849Z",
- "ExitCode": 0,
- "Output": "0.0.0.0\n"
- },
- {
- "Start": "2024-03-29T21:39:46.85554Z",
- "End": "2024-03-29T21:39:46.935740891Z",
- "ExitCode": 0,
- "Output": "0.0.0.0\n"
- }
- ]
- }
- },
- "Image": "sha256:166d64ed1cc789c599df743fb91ca726ef101ef81080316c324098827eaf3f5f",
- "ResolvConfPath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/resolv.conf",
- "HostnamePath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/hostname",
- "HostsPath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/hosts",
- "LogPath": "/var/lib/docker/containers/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f/294c620812eb455998651f1960bbc927b99372c0bb27e8afdc0ebb635f88394f-json.log",
- "Name": "/pihole",
- "RestartCount": 0,
- "Driver": "overlay2",
- "Platform": "linux",
- "MountLabel": "",
- "ProcessLabel": "",
- "AppArmorProfile": "docker-default",
- "ExecIDs": null,
- "HostConfig": {
- "Binds": [
- "/home/fridge/docker/pihole/etc-pihole:/etc/pihole",
- "/home/fridge/docker/pihole/etc-dnsmasq.d:/etc/dnsmasq.d"
- ],
- "ContainerIDFile": "",
- "LogConfig": {
- "Type": "json-file",
- "Config": {}
- },
- "NetworkMode": "pihole_macvlan",
- "PortBindings": {},
- "RestartPolicy": {
- "Name": "unless-stopped",
- "MaximumRetryCount": 0
- },
- "AutoRemove": false,
- "VolumeDriver": "",
- "VolumesFrom": null,
- "ConsoleSize": [
- 24,
- 80
- ],
- "CapAdd": [
- "NET_ADMIN"
- ],
- "CapDrop": null,
- "CgroupnsMode": "private",
- "Dns": [
- "127.0.0.1",
- "1.1.1.1"
- ],
- "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": null,
- "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/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",
- "MergedDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a/merged",
- "UpperDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a/diff",
- "WorkDir": "/var/lib/docker/overlay2/b0ba9af4cf1693b7303d479215cf2face31ee53c59e8a2acca688c19c169ed0a/work"
- },
- "Name": "overlay2"
- },
- "Mounts": [
- {
- "Type": "bind",
- "Source": "/home/fridge/docker/pihole/etc-pihole",
- "Destination": "/etc/pihole",
- "Mode": "",
- "RW": true,
- "Propagation": "rprivate"
- },
- {
- "Type": "bind",
- "Source": "/home/fridge/docker/pihole/etc-dnsmasq.d",
- "Destination": "/etc/dnsmasq.d",
- "Mode": "",
- "RW": true,
- "Propagation": "rprivate"
- }
- ],
- "Config": {
- "Hostname": "pihole",
- "Domainname": "",
- "User": "",
- "AttachStdin": false,
- "AttachStdout": false,
- "AttachStderr": false,
- "ExposedPorts": {
- "53/tcp": {},
- "53/udp": {},
- "67/udp": {},
- "80/tcp": {}
- },
- "Tty": false,
- "OpenStdin": false,
- "StdinOnce": false,
- "Env": [
- "TZ=America/New_York",
- "WEBPASSWORD=fridge",
- "PATH=/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
- "phpver=php",
- "PHP_ERROR_LOG=/var/log/lighttpd/error-pihole.log",
- "IPv6=True",
- "S6_KEEP_ENV=1",
- "S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
- "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
- "FTLCONF_LOCAL_IPV4=0.0.0.0",
- "FTL_CMD=no-daemon",
- "DNSMASQ_USER=pihole"
- ],
- "Cmd": null,
- "Healthcheck": {
- "Test": [
- "CMD-SHELL",
- "dig +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1"
- ]
- },
- "Image": "pihole/pihole:latest",
- "Volumes": null,
- "WorkingDir": "",
- "Entrypoint": [
- "/s6-init"
- ],
- "OnBuild": null,
- "Labels": {
- "org.opencontainers.image.created": "2024-02-26T21:35:41.560Z",
- "org.opencontainers.image.description": "Pi-hole in a docker container",
- "org.opencontainers.image.licenses": "NOASSERTION",
- "org.opencontainers.image.revision": "91ff5662c4153f24be7bf4db548e7e015b60b02f",
- "org.opencontainers.image.source": "https://github.com/pi-hole/docker-pi-hole",
- "org.opencontainers.image.title": "docker-pi-hole",
- "org.opencontainers.image.url": "https://github.com/pi-hole/docker-pi-hole",
- "org.opencontainers.image.version": "2024.02.2"
- }
- },
- "NetworkSettings": {
- "Bridge": "",
- "SandboxID": "566c2bacd6fc89ad692e33a8dfcad76bda10c7ec8d130fe2012ecedcba71b0e9",
- "HairpinMode": false,
- "LinkLocalIPv6Address": "",
- "LinkLocalIPv6PrefixLen": 0,
- "Ports": {},
- "SandboxKey": "/var/run/docker/netns/566c2bacd6fc",
- "SecondaryIPAddresses": null,
- "SecondaryIPv6Addresses": null,
- "EndpointID": "",
- "Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "IPAddress": "",
- "IPPrefixLen": 0,
- "IPv6Gateway": "",
- "MacAddress": "",
- "Networks": {
- "pihole_macvlan": {
- "IPAMConfig": {
- "IPv4Address": "192.168.1.99"
- },
- "Links": null,
- "Aliases": [
- "294c620812eb",
- "pihole"
- ],
- "NetworkID": "3b2db264d02ad97fd4e9763b514b74961649911010706e67a7377ef6b6f25548",
- "EndpointID": "34de3339433cb42e8bdf92a0a2660d6076c09c4daddc415b621465203384978e",
- "Gateway": "192.168.1.1",
- "IPAddress": "192.168.1.99",
- "IPPrefixLen": 24,
- "IPv6Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "MacAddress": "02:42:c0:a8:01:63",
- "DriverOpts": null
- }
- }
- }
- }
- ]
- fridge@fridge:~$
Advertisement
Add Comment
Please, Sign In to add comment