Looking for my next clue, I’m looking at the syscall associated with the error.
A DNS lookup seems to be attempted to find the IP address associated with database.
So that DNS to IP mapping either doesn’t exist or isn’t being looked for in the right place.
This is the current list of networks:
NETWORK ID |
NAME |
DRIVER |
SCOPE |
d6a05ef5be61 |
bridge |
bridge |
local |
e36401672375 |
docker_gwbridge |
bridge |
local |
7ae9605a3d7e |
host |
host |
local |
l5xgqzhrseq4 |
ingress |
overlay |
swarm |
nngab982syo4 |
lamp_default |
overlay |
swarm |
f0fbfb0ea3ab |
none |
null |
local |
i4nnvq9eahxv |
public |
overlay |
swarm |
When inspecting a network called lamp_default I see all services exposed on this overlay:
[
{
"Name": "lamp_default",
"Id": "nngab982syo4y2jkw0ztuhhkc",
"Created": "2022-02-21T07:11:32.514985557Z",
"Scope": "swarm",
"Driver": "overlay",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "10.0.2.0/24",
"Gateway": "10.0.2.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"627a874e1b733b1615d670b5ec418522fdba272f1ce57d872300b85542fa5b68": {
"Name": "lamp_server.1.0hlt3kdtipnkejowtm5889md0",
"EndpointID": "44d1c8ee4deb3c561b3ae63b8cb95e147374054fa6eb4a2474653a24425150db",
"MacAddress": "02:42:0a:00:02:0d",
"IPv4Address": "10.0.2.13/24",
"IPv6Address": ""
},
"9709463fec510c9b011ea6fd78901afa60cccdbfe8ed1da96406a0378c603f66": {
"Name": "lamp_message_queue.1.iuqpcku1vrei3giu8g5fqy2un",
"EndpointID": "1ec64821202d89450b518dff1ea234dbdcfc6a870f53cc34232ec7c4c10fdcfb",
"MacAddress": "02:42:0a:00:02:03",
"IPv4Address": "10.0.2.3/24",
"IPv6Address": ""
},
"cd7d2005e4ade08c0eff309d553bf73400f36654947534857e66d878ab6c4e22": {
"Name": "lamp_cache.1.mrj4tlzjrzcz6uumfred2d0nr",
"EndpointID": "4e86093bbf52f5d02000ea591525db58d19c85f38e59147609d5981a99674f06",
"MacAddress": "02:42:0a:00:02:08",
"IPv4Address": "10.0.2.8/24",
"IPv6Address": ""
},
"lb-lamp_default": {
"Name": "lamp_default-endpoint",
"EndpointID": "f68f232403132f767ec868714efc3f78fd610152b0f0945db3e3ae362b36a08a",
"MacAddress": "02:42:0a:00:02:04",
"IPv4Address": "10.0.2.4/24",
"IPv6Address": ""
}
},
"Options": {
"com.docker.network.driver.overlay.vxlanid_list": "4098"
},
"Labels": {
"com.docker.stack.namespace": "lamp"
},
"Peers": [
{
"Name": "1d46652e82f6",
"IP": "172.31.27.154"
}
]
}
]
One thing I notice in Containers property value is there I don’t see a database container.
Then when I list out containers I see server, redis, and message_queue server but no couch database server.
This feels like progress.
I just need to figure out why the database container is failing to start.
Something must be wrong with my configuration.