H
H
HexUserHex2020-02-01 21:15:14
Docker
HexUserHex, 2020-02-01 21:15:14

No internet access from docker container?

Good evening,

I start the container (php: 7.2-fpm-alpine), everything starts fine, but there is no access to the network from the container, iptables are empty.
checked: ping 8.8.8.8; curl, wget etc //specified just in case

docker inspect:

"Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "e43f975b8bc74fb9f10805c97ef5bf50816999a42adb7ea7431343ad244",
                    "EndpointID": "966b6108b5fce60c1e6fccc038224e8655f4f70f7e7c4275810d7d23001,
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:02",
                    "DriverOpts": null
                }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question