wnoorduin
(Wnoorduin)
June 22, 2016, 9:40pm
1
I seemed to have circumvented this problem by playing around with docker, The problem is this. When I do this on a default Docker:
$ docker network create --subnet 10.0.0.0/24 mynet
$ docker run -it --ip 10.0.0.10 --net mynet --dns 8.8.8.8 ubuntu bash
root@120e4e16663c:/# apt-get update
Err:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving ‘archive.ubuntu.com ’
…
There is no internet connection, while using the default bridge, Docker has no problem in connecting to the internet. Should be something basic, but I don’t see it
dmaze
(David Maze)
June 23, 2016, 1:31am
2
wnoorduin:
I seemed to have circumvented this problem by playing around with docker, The problem is this. When I do this on a default Docker:
$ docker network create --subnet 10.0.0.0/24 mynet
$ docker run -it --ip 10.0.0.10 --net mynet --dns 8.8.8.8 ubuntu bash
There is no internet connection, while using the default bridge, Docker has no problem in connecting to the internet. Should be something basic, but I don’t see it
From docker network create | Docker Docs do you need to create the bridge network with a --ip-masq
option?