Answer the question
In order to leave comments, you need to log in
Why is networking not working inside a Docker container?
Good afternoon, for some reason the network from the docker container does not work
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 20.0.1
Codename: Lysia
3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:31:e0:65:74 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/8 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::42:31ff:fee0:6574/64 scope link
valid_lft forever preferred_lft forever
9: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
link/ether be:ed:0e:e1:53:29 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::bced:eff:fee1:5329/64 scope link
valid_lft forever preferred_lft forever
default via 192.168.0.1 dev enp2s0 proto dhcp metric 100
10.0.0.0/8 dev docker0 proto kernel scope link src 10.0.0.1
192.168.0.0/24 dev enp2s0 proto kernel scope link src 192.168.0.100 metric 100
Answer the question
In order to leave comments, you need to log in
The problem was solved in the following way. I just reset my bridge settings.
pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
systemctl restart docker
/etc/docker/daemon.json
{
"bip": "172.26.0.1/16"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question