I have a problem with docker: I try to create a container but when I execute
docker run -i -t base /bin/bash # everything doing good aptitude update
I'm getting this error message:
Temporary failure resolving 'archive.ubuntu.com'
I try to change the IP address of
docker0 but all time I fail.
The IP address on my linux
docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN link/ether 7a:3c:fa:08:73:94 brd ff:ff:ff:ff:ff:ff inet 172.16.42.1
# Generated by NetworkManager nameserver 220.127.116.11 nameserver 18.104.22.168 nameserver 22.214.171.124
You could try to reset all the networking/iptables:
pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 docker -d
It will force docker to recreate the bridge and reinit all the network rules.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!Donate Us With