[FZH] Fedora Docker Container Network problems

Nicol TAO nicol_tao at 126.com
Mon Oct 12 03:02:06 UTC 2015


    I want to ask a question about Docker.
    I installed VMware Workstation 10 in Windows7 as host, and the guest OS is fedora 22 with latest updates.
    I installed the latest docker, and running
        sudo docker run -i -t centos:latest ping
    But I found all the containers can not access wider Internet, I have tried fedora's docker, and official
    docker-engine, they all do not work.

    I am using default docker0 bridge, and my network configuration is:
        Host OS( <--> VMware NAT( <--> Fedora Guest( <--> docker0( <--> container(
    I can run ping from container with AND OK, but I can not access and later networks.
    I also installed other OS(debian) with the same VMWare configuration, the network works fine. So I figure whether it is fedora's problem.

    Does the Vmware+fedora22 can fully support docker network and functions ?

[root在localhost ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         UG    0      0        0 eth0     U     0      0        0 docker0   U     0      0        0 virbr0   U     0      0        0 eth0

More information about the Chinese mailing list