Open amitsaha opened 8 years ago
If you use systemctl and temporarily shutdown firewalld on the host can you resolve/wget?
@JakeWarner i think i already tried that, but I will try it again and report back. Thanks for the tip.
On Ubuntu, with ufw
running, I could get things working without any issues. I will update on Fedora.
I have got same issue on Ubuntu 16.04, my steps:
mkdir rootfs
docker export $(docker create ubuntu:14.04) | tar -C rootfs -xvf -
docker-runc spec .
Changes in config.json:
Then I add "nameserver 10.70.1.4" to rootfs/etc/resolv.conf Then "docker-runc start c2" - container starts, but ... I can ping external hosts, but I cannot resolve any hosts and cannot make any HTTP requests, same resolv.conf used in docker works.
I have used netns to setup the default bridge networking, I can ping external hosts, but I cannot resolve any hosts (even though I have set resolv.conf) and cannot make any HTTP requests to a host using it's IP address:
Here's my config.json:
(I am using an Alpine linux rootfs and I have SELinux in permissive mode on Fedora 23).
Any suggestions please?