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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
|
{
"Id": "7ef9c58dd5bbc841da16aa0147353b530a5d893fad1136be5567224a7425d765",
"Created": "2026-03-13T08:23:45.681428388Z",
"Path": "docker-entrypoint.sh",
"Args": [
"postgres"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 1727221,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-03-13T08:23:45.932138047Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:20edbde7749f822887a1a022ad526fde0a47d6b2be9a8364433605cf65099416",
"ResolvConfPath": "/var/lib/docker/containers/7ef9c58dd5bbc841da16aa0147353b530a5d893fad1136be5567224a7425d765/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/7ef9c58dd5bbc841da16aa0147353b530a5d893fad1136be5567224a7425d765/hostname",
"HostsPath": "/var/lib/docker/containers/7ef9c58dd5bbc841da16aa0147353b530a5d893fad1136be5567224a7425d765/hosts",
"LogPath": "/var/lib/docker/containers/7ef9c58dd5bbc841da16aa0147353b530a5d893fad1136be5567224a7425d765/7ef9c58dd5bbc841da16aa0147353b530a5d893fad1136be5567224a7425d765-json.log",
"Name": "/healthchecks-db",
"RestartCount": 0,
"Driver": "overlayfs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/srv/healthchecks/db:/var/lib/postgresql/data:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "healthchecks_default",
"PortBindings": {},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"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": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"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/acpi",
"/proc/asound",
"/proc/interrupts",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/sched_debug",
"/proc/scsi",
"/proc/timer_list",
"/proc/timer_stats",
"/sys/devices/virtual/powercap",
"/sys/firmware",
"/sys/devices/system/cpu/cpu0/thermal_throttle",
"/sys/devices/system/cpu/cpu1/thermal_throttle",
"/sys/devices/system/cpu/cpu2/thermal_throttle",
"/sys/devices/system/cpu/cpu3/thermal_throttle"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"Storage": {
"RootFS": {
"Snapshot": {
"Name": "overlayfs"
}
}
},
"Mounts": [
{
"Type": "bind",
"Source": "/srv/healthchecks/db",
"Destination": "/var/lib/postgresql/data",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "7ef9c58dd5bb",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"5432/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Cmd": [
"postgres"
],
"Image": "postgres:16-alpine",
"Volumes": {
"/var/lib/postgresql/data": {}
},
"WorkingDir": "/",
"Entrypoint": [
"docker-entrypoint.sh"
],
"Labels": {
"com.docker.compose.config-hash": "1dbf42c7afd24319c889cec9f9ffc91bc244d8530572efdcc9520452627d743f",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:20edbde7749f822887a1a022ad526fde0a47d6b2be9a8364433605cf65099416",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "healthchecks",
"com.docker.compose.project.config_files": "/srv/healthchecks/docker-compose.yml",
"com.docker.compose.project.working_dir": "/srv/healthchecks",
"com.docker.compose.service": "db",
"com.docker.compose.version": "5.1.0"
},
"StopSignal": "SIGINT"
},
"NetworkSettings": {
"SandboxID": "38abcefb410903022b52f07c8c29af69425c861c288d8d715140dbdd555b7f35",
"SandboxKey": "/var/run/docker/netns/38abcefb4109",
"Ports": {
"5432/tcp": null
},
"Networks": {
"healthchecks_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"healthchecks-db",
"db"
],
"DriverOpts": null,
"GwPriority": 0,
"NetworkID": "13fd8ea97b9417a7a4a2d83ed3ee16d4d9aca10a913476c36303da8a43a090fd",
"EndpointID": "36a8476575e69fac00eb8ff2276c5aef04e81cc2498d81f8af7ec1585cf0935c",
"Gateway": "172.27.0.1",
"IPAddress": "172.27.0.2",
"MacAddress": "f6:fe:a5:78:64:cc",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": [
"healthchecks-db",
"db",
"7ef9c58dd5bb"
]
}
}
},
"ImageManifestDescriptor": {
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:60b180625695e90b6e450405d5f0bcb74bc8c52c65d1cd11aeb3da46cac06dd8",
"size": 3054,
"annotations": {
"com.docker.official-images.bashbrew.arch": "amd64",
"org.opencontainers.image.base.digest": "sha256:59855d3dceb3ae53991193bd03301e082b2a7faa56a514b03527ae0ec2ce3a95",
"org.opencontainers.image.base.name": "alpine:3.23",
"org.opencontainers.image.created": "2026-02-26T19:27:47Z",
"org.opencontainers.image.revision": "31041e40d9b06ce075f5edd767243e53efb5ee62",
"org.opencontainers.image.source": "https://github.com/docker-library/postgres.git#31041e40d9b06ce075f5edd767243e53efb5ee62:16/alpine3.23",
"org.opencontainers.image.url": "https://hub.docker.com/_/postgres",
"org.opencontainers.image.version": "16.13-alpine3.23"
},
"platform": {
"architecture": "amd64",
"os": "linux"
}
}
}
|