Hi! Please help me.
I install docker desktop on a windows 10. a want to start an apache server container. it runs.
docker network inspect sc_docker_patched_sc-test
[
{
"Name": "sc_docker_patched_sc-test",
"Id": "e0770c9aaa2b4e583b4d0f26e383ba011a9c3e720a48246ac79f6bbfc7329b18",
"Created": "2021-12-03T10:46:05.759946Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.23.0.0/24"
}
]
},
"Internal": false,
"Attachable": true,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"b5462c645b94a561ae45e2b7b4601d040ea3cf42b0a85dd4f9fc6d596b02c110": {
"Name": "sc_core-test",
"EndpointID": "104ba9e4200eab185b1f5d04ddc7c29b9b0cf7136e87c2731b9f94ad2845b605",
"MacAddress": "02:42:ac:17:00:02",
"IPv4Address": "172.23.0.2/24",
"IPv6Address": ""
},
"f4fc0ab5674df05d00efc3b5be668b25e4c09f6ef5568dee413edee8be3fb8c2": {
"Name": "db-test",
"EndpointID": "b270bc863ad07dfbf13ab91a080c8f1d0e2b3f9a4a405dcfedab45242ed9f433",
"MacAddress": "02:42:ac:17:00:03",
"IPv4Address": "172.23.0.3/24",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {
"com.docker.compose.network": "sc-test",
"com.docker.compose.project": "sc_docker_patched",
"com.docker.compose.version": "1.29.2"
}
}
]
the containers are running
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' sc_core-test
'172.23.0.2'
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' db-test
'172.23.0.3'
but in browser i cant access the ip-s
ping 172.23.0.3
Pinging 172.23.0.3 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.23.0.3:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
what is the problem?