Re: [CentOS] Unable to access network from docker container

2018-04-07 Thread Daniel Walsh

On 04/06/2018 03:50 PM, H wrote:

On April 5, 2018 4:49:57 PM EDT, H  wrote:

I have recently installed docker and playing around with it. On a
CentOS 7 machine, however, I am unable to get access to the outside
internet, thus yum ... fails. The host machine runs fine.

I am wondering if there are some networking setting on the host I need
to modify to allow the docker container to connect to the outside?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Resolved the issue by rebooting the computer but had to do that again later 
today. Does anyone have experience with docker under Centos 7?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Lots of people have experience, and it works well.  I believe the issue 
you are seeing, is that the Firewall rules are being modified and 
something is removing the rule that Docker adds to allow containers to 
use the host machines network interface.  When you reboot and restart 
the Docker daemon and the container, the network is correct again, but 
some tool (Firewalld) or something else is mucking around with the iptables.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to access network from docker container

2018-04-06 Thread H
On April 6, 2018 4:02:49 PM EDT, Ulf Volmer  wrote:
>On 05.04.2018 22:49, H wrote:
>> I have recently installed docker and playing around with it. On a
>CentOS 7 machine, however, I am unable to get access to the outside
>internet, thus yum ... fails. The host machine runs fine.
>
>Which ip range do you use in your network? Maybe this overlaps with the
>docker default ip range (172.18.0.1/16).
>
>best regards
>Ulf
>___
>CentOS mailing list
>CentOS@centos.org
>https://lists.centos.org/mailman/listinfo/centos

I use 192.168.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to access network from docker container

2018-04-06 Thread Ulf Volmer
On 05.04.2018 22:49, H wrote:
> I have recently installed docker and playing around with it. On a CentOS 7 
> machine, however, I am unable to get access to the outside internet, thus yum 
> ... fails. The host machine runs fine.

Which ip range do you use in your network? Maybe this overlaps with the
docker default ip range (172.18.0.1/16).

best regards
Ulf
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to access network from docker container

2018-04-06 Thread H
On April 5, 2018 4:49:57 PM EDT, H  wrote:
>I have recently installed docker and playing around with it. On a
>CentOS 7 machine, however, I am unable to get access to the outside
>internet, thus yum ... fails. The host machine runs fine.
>
>I am wondering if there are some networking setting on the host I need
>to modify to allow the docker container to connect to the outside?
>
>___
>CentOS mailing list
>CentOS@centos.org
>https://lists.centos.org/mailman/listinfo/centos

Resolved the issue by rebooting the computer but had to do that again later 
today. Does anyone have experience with docker under Centos 7?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Unable to access network from docker container

2018-04-05 Thread H
I have recently installed docker and playing around with it. On a CentOS 7 
machine, however, I am unable to get access to the outside internet, thus yum 
... fails. The host machine runs fine.

I am wondering if there are some networking setting on the host I need to 
modify to allow the docker container to connect to the outside?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos