[3.0.1] Docker containers have no network access

Posted by jamesf on 2014-03-12 09:49
OS: All / Any | Product: Stackato | tags: docker stackato

How do I troubleshoot networking issues with my Docker images?


You can run common networking tools by running commands such as the following:

sudo docker run stackato/stack/alsek ping
sudo docker run stackato/stack/alsek ping www.activestate.com

Some initial first boot networking issues can be cleared up by restarting docker ("sudo restart docker") or rebooting the VM.

Make sure you don't have a firewall such as iptables on the host VM which blocks Docker's subnet on the VM, this is usually