Answer the question
In order to leave comments, you need to log in
Docker network not working?
[email protected]:/# ping -c 4 ya.ru
ping: unknown host
[email protected]:/# ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
[email protected]:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:01 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::42:acff:fe11:1/64 scope link
valid_lft forever preferred_lft forever
[email protected]:/# ip r
default via 172.17.42.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.1
[email protected]:/#
Answer the question
In order to leave comments, you need to log in
The problem was solved with the addition of IPForward=yes in the systemd configuration of the network service.
I found the solution from here https://github.com/docker/docker/issues/15008
ps Thanks to ldv for the effort.
something to do with dns. Do you have all the required libraries?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question